Class AntlrTokenFilter

  • All Implemented Interfaces:
    TokenManager<AntlrToken>

    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
        Parameters:
        tokenManager - The token manager from which to retrieve tokens to be filtered