Property | Type | Description | |
---|---|---|---|
internalOption_PrintDFA | bool | ||
internalOption_PrintGrammarTree | bool | ||
internalOption_ShowNFAConfigsInDFA | bool | ||
internalOption_watchNFAConversion | bool |
Method | Description | |
---|---|---|
AddGrammarFile ( string grammarFileName ) : void | ||
AntlrTool ( string toolPathRoot ) : System | ||
BuildRequired ( string grammarFileName ) : bool | ||
GenerateDFAs ( Grammar g ) : void | ||
GetCurrentTimeStamp ( ) : string |
Return a time stamp string accurate to sec: yyyy-mm-dd hh:mm:ss
|
|
GetFileDirectory ( string fileName ) : string | ||
GetImportedVocabFile ( string vocabName ) : string | ||
GetLibraryFile ( string fileName ) : string | ||
GetOutputDirectory ( string fileNameWithPath ) : System.IO.DirectoryInfo | ||
GetOutputFile ( Grammar g, string fileName ) : System.IO.TextWriter | ||
GetRootGrammar ( string grammarFileName ) : Grammar | ||
Panic ( ) : void | ||
Process ( ) : void | ||
ProcessArgs ( string args ) : void | ||
SetForceRelativeOutput ( bool forceRelativeOutput ) : void | ||
SetInputDirectory ( string inputDirectory ) : void | ||
SetOutputDirectory ( string outputDirectory ) : void |
Set the location (base directory) where output files should be produced by the ANTLR tool.
|
|
SortGrammarFiles ( ) : void |
Method | Description | |
---|---|---|
CheckForInvalidArguments ( string args, Antlr cmdLineArgValid ) : void | ||
GenerateNFAs ( Grammar g ) : void | ||
GenerateRecognizer ( Grammar grammar ) : void | ||
WriteGraphFile ( Grammar g, Rule r, string graph, string formatExtension ) : void | ||
WriteGraphFile ( Grammar g, string name, string graph, string formatExtension ) : void |
Method | Description | |
---|---|---|
AntlrTool ( ) : System | ||
ExtendedHelp ( ) : void | ||
Help ( ) : void | ||
Main ( string args ) : void | ||
Version ( ) : void |
public AddGrammarFile ( string grammarFileName ) : void | ||
grammarFileName | string | |
return | void |
public AntlrTool ( string toolPathRoot ) : System | ||
toolPathRoot | string | |
return | System |
public BuildRequired ( string grammarFileName ) : bool | ||
grammarFileName | string | |
return | bool |
protected CheckForInvalidArguments ( string args, Antlr cmdLineArgValid ) : void | ||
args | string | |
cmdLineArgValid | Antlr | |
return | void |
protected GenerateRecognizer ( Grammar grammar ) : void | ||
grammar | Grammar | |
return | void |
public static GetCurrentTimeStamp ( ) : string | ||
return | string |
public GetFileDirectory ( string fileName ) : string | ||
fileName | string | |
return | string |
public GetImportedVocabFile ( string vocabName ) : string | ||
vocabName | string | |
return | string |
public GetLibraryFile ( string fileName ) : string | ||
fileName | string | |
return | string |
public GetOutputDirectory ( string fileNameWithPath ) : System.IO.DirectoryInfo | ||
fileNameWithPath | string | |
return | System.IO.DirectoryInfo |
public GetOutputFile ( Grammar g, string fileName ) : System.IO.TextWriter | ||
g | Grammar | |
fileName | string | |
return | System.IO.TextWriter |
public GetRootGrammar ( string grammarFileName ) : Grammar | ||
grammarFileName | string | |
return | Grammar |
public SetForceRelativeOutput ( bool forceRelativeOutput ) : void | ||
forceRelativeOutput | bool | |
return | void |
public SetInputDirectory ( string inputDirectory ) : void | ||
inputDirectory | string | |
return | void |
public SetOutputDirectory ( string outputDirectory ) : void | ||
outputDirectory | string | |
return | void |
protected WriteGraphFile ( Grammar g, Rule r, string graph, string formatExtension ) : void | ||
g | Grammar | |
r | Rule | |
graph | string | |
formatExtension | string | |
return | void |
protected WriteGraphFile ( Grammar g, string name, string graph, string formatExtension ) : void | ||
g | Grammar | |
name | string | |
graph | string | |
formatExtension | string | |
return | void |
public static bool internalOption_PrintDFA | ||
return | bool |
public static bool internalOption_PrintGrammarTree | ||
return | bool |
public static bool internalOption_ShowNFAConfigsInDFA | ||
return | bool |