Class LexerMultiplexer

  • All Implemented Interfaces:
    org.antlr.runtime.TokenSource
    Direct Known Subclasses:
    SleighLexer

    public class LexerMultiplexer
    extends java.lang.Object
    implements org.antlr.runtime.TokenSource
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.antlr.runtime.TokenSource[] modes  
    • Constructor Summary

      Constructors 
      Constructor Description
      LexerMultiplexer​(org.antlr.runtime.TokenSource... modes)  
    • Field Detail

      • modes

        protected final org.antlr.runtime.TokenSource[] modes
    • Constructor Detail

      • LexerMultiplexer

        public LexerMultiplexer​(org.antlr.runtime.TokenSource... modes)
    • Method Detail

      • getSourceName

        public java.lang.String getSourceName()
        Specified by:
        getSourceName in interface org.antlr.runtime.TokenSource
      • nextToken

        public org.antlr.runtime.Token nextToken()
        Specified by:
        nextToken in interface org.antlr.runtime.TokenSource
      • popMode

        public int popMode()
      • pushMode

        public void pushMode​(int mode)
      • setMode

        public void setMode​(int mode)
      • channelOn

        public void channelOn​(int channel)
      • channelOff

        public void channelOff​(int channel)