public class Lexer extends Recognizer
Modifier and Type | Field | Description |
---|---|---|
LinkedHashMap<Rule,RuleActionFunction> |
actionFuncs |
|
Map<String,Integer> |
channels |
|
LexerFile |
file |
|
Collection<String> |
modes |
ast, factory
accessLevel, atn, grammarFileName, grammarName, literalNames, name, ruleNames, rules, sempredFuncs, superClass, symbolicNames, tokenNames, tokens
Constructor | Description |
---|---|
Lexer(OutputModelFactory factory,
LexerFile file) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
translateTokenStringsToTarget, translateTokenStringToTarget
public LexerFile file
public Collection<String> modes
public LinkedHashMap<Rule,RuleActionFunction> actionFuncs
public Lexer(OutputModelFactory factory, LexerFile file)
Copyright © 1992–2019 ANTLR. All rights reserved.