public class BuildDependencyGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Grammar |
g
|
protected CodeGenerator |
generator
|
protected STGroup |
templates
|
protected Tool |
tool
|
| Constructor and Description |
|---|
BuildDependencyGenerator(Tool
|
| Modifier and Type | Method and Description |
|---|---|
ST |
getDependencies()
|
List |
getDependenciesFileList()
Return a list of File objects that name files ANTLR will read to process T.g; This can be .tokens files if the grammar uses the tokenVocab option as well as any imported grammar files.
|
List |
getGeneratedFileList()
From T.g return a list of File objects that name files ANTLR will emit from T.g.
|
CodeGenerator |
getGenerator()
|
List |
getNonImportDependenciesFileList()
Return a list of File objects that name files ANTLR will read to process T.g; This can only be .tokens files and only if they use the tokenVocab option.
|
File |
getOutputFile(String
|
String |
groomQualifiedFileName(String
|
void |
loadDependencyTemplates()
|
protected Tooltool
protected Grammarg
protected CodeGeneratorgenerator
protected STGroup templates
public List<File > getGeneratedFileList()
public List<File > getDependenciesFileList()
public List<File > getNonImportDependenciesFileList()
public ST getDependencies()
public void loadDependencyTemplates()
public CodeGeneratorgetGenerator()