public class TokenVocabParser extends Object
Constructor and Description |
---|
TokenVocabParser(Grammar g) |
Modifier and Type | Method and Description |
---|---|
File |
getImportedVocabFile()
Return a File descriptor for vocab file.
|
Map<String,Integer> |
load()
Load a vocab file
<vocabName>.tokens and return mapping. |
protected final Grammar g
public TokenVocabParser(Grammar g)
public File getImportedVocabFile()
Copyright © 1992-2015 ANTLR. All Rights Reserved.