Package antlr.preprocessor
Class GrammarFile
java.lang.Object
antlr.preprocessor.GrammarFile
Stores header action, grammar preamble, file options, and
list of grammars in the file
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected String
protected IndexedVector
protected String
protected IndexedVector
protected Tool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
getName()
void
setExpanded
(boolean exp) void
toString()
-
Field Details
-
fileName
-
headerAction
-
options
-
grammars
-
expanded
protected boolean expanded -
tool
-
-
Constructor Details
-
GrammarFile
-
-
Method Details
-
addGrammar
-
generateExpandedFile
- Throws:
IOException
-
getGrammars
-
getName
-
nameForExpandedGrammarFile
-
setExpanded
public void setExpanded(boolean exp) -
addHeaderAction
-
setOptions
-
toString
-