public class XRef extends Object
grammar files such as filesByPath,
filesByExportVocab and filesByClassName.| Constructor and Description |
|---|
XRef(antlr.preprocessor.Hierarchy antlrHierarchy) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAntlrHierarchy() |
GrammarFileMetadata |
getGrammarFileByClassName(String className)
Locate the grammar file metadata by the name of a class generated from one of its included grammars.
|
GrammarFileMetadata |
getGrammarFileByExportVocab(String vocabName)
Locate the grammar file metadata by the name of a vocabulary exported from one of its included grammars.
|
GrammarFileMetadata |
getGrammarFileByPath(String path)
Locate the grammar file metadata by grammar file path.
|
Iterator<GrammarFileMetadata> |
iterateGrammarFiles() |
public Object getAntlrHierarchy()
public Iterator<GrammarFileMetadata> iterateGrammarFiles()
public GrammarFileMetadata getGrammarFileByPath(String path)
path - The grammar file path.public GrammarFileMetadata getGrammarFileByClassName(String className)
className - The generated class name.public GrammarFileMetadata getGrammarFileByExportVocab(String vocabName)
vocabName - The vocabulary nameCopyright © 2013. All rights reserved