Package ghidra.sleigh.grammar
Class LexerMultiplexer
java.lang.Object
ghidra.sleigh.grammar.LexerMultiplexer
- All Implemented Interfaces:
org.antlr.runtime.TokenSource
- Direct Known Subclasses:
SleighLexer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
channelOff
(int channel) void
channelOn
(int channel) org.antlr.runtime.Token
int
popMode()
void
pushMode
(int mode) void
setMode
(int mode)
-
Field Details
-
modes
protected final org.antlr.runtime.TokenSource[] modes
-
-
Constructor Details
-
LexerMultiplexer
public LexerMultiplexer(org.antlr.runtime.TokenSource... modes)
-
-
Method Details
-
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)
-