public class GroovyLexer extends AbstractLexer
Modifiers | Name | Description |
---|---|---|
static int |
DQ_GSTRING_MODE |
|
static int |
StringLiteral |
|
static Vocabulary |
VOCABULARY |
|
static ATN |
_ATN |
|
static String |
_serializedATN |
|
static String[] |
channelNames |
|
static String[] |
modeNames |
|
static String[] |
ruleNames |
|
static String[] |
tokenNames |
|
Constructor and description |
---|
GroovyLexer
(CharStream input) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
action(RuleContext _localctx, int ruleIndex, int actionIndex) |
|
public void |
emit(Token token) Record the index and token type of the current token while emitting tokens. |
|
protected void |
enterParenCallback(String text) |
|
protected void |
exitParenCallback(String text) |
|
public String[] |
getChannelNames() |
|
public int |
getErrorColumn() |
|
public int |
getErrorLine() |
|
public String |
getGrammarFileName() |
|
public String[] |
getModeNames() |
|
public String[] |
getRuleNames() |
|
public String |
getSerializedATN() |
|
public int |
getSyntaxErrorSource() |
|
public String[] |
getTokenNames() |
|
public Vocabulary |
getVocabulary() |
|
public int |
popMode() |
|
protected void |
rollbackOneChar() just a hook, which will be overrided by GroovyLangLexer |
|
public boolean |
sempred(RuleContext _localctx, int ruleIndex, int predIndex) |
Record the index and token type of the current token while emitting tokens.
just a hook, which will be overrided by GroovyLangLexer
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.