Class AntlrTokenFilter

  • All Implemented Interfaces:

    public class AntlrTokenFilter
    extends BaseTokenFilter<AntlrToken>
    A generic filter for Antlr-based token managers that allows to use comments to enable / disable analysis of parts of the stream
    • Constructor Detail

      • AntlrTokenFilter

        public AntlrTokenFilter​(TokenManager<AntlrToken> tokenManager)
        Creates a new AntlrTokenFilter
        tokenManager - The token manager from which to retrieve tokens to be filtered