public class TokenVocabParser extends Object
Constructor | Description |
---|---|
TokenVocabParser(Grammar g) |
Modifier and Type | Method | 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–2019 ANTLR. All rights reserved.