Package ghidra.sleigh.grammar
Class LexerMultiplexer
- java.lang.Object
-
- ghidra.sleigh.grammar.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelOff(int channel)
void
channelOn(int channel)
java.lang.String
getSourceName()
org.antlr.runtime.Token
nextToken()
int
popMode()
void
pushMode(int mode)
void
setMode(int mode)
-
-
-
Method Detail
-
getSourceName
public java.lang.String getSourceName()
- Specified by:
getSourceName
in interfaceorg.antlr.runtime.TokenSource
-
nextToken
public org.antlr.runtime.Token nextToken()
- Specified by:
nextToken
in interfaceorg.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)
-
-