Class LexerMultiplexer

java.lang.Object
ghidra.sleigh.grammar.LexerMultiplexer
All Implemented Interfaces:
org.antlr.runtime.TokenSource
Direct Known Subclasses:
SleighLexer

public class LexerMultiplexer extends Object implements org.antlr.runtime.TokenSource
  • Field Details

    • modes

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

    • LexerMultiplexer

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

    • getSourceName

      public 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)