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