프로퍼티 | 타입 | 설명 | |
---|---|---|---|
internalOption_PrintDFA | bool | ||
internalOption_PrintGrammarTree | bool | ||
internalOption_ShowNFAConfigsInDFA | bool | ||
internalOption_watchNFAConversion | bool |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
AntlrTool ( ) : System | ||
ExtendedHelp ( ) : void | ||
Help ( ) : void | ||
Main ( string args ) : void | ||
Version ( ) : void |
public AddGrammarFile ( string grammarFileName ) : void | ||
grammarFileName | string | |
리턴 | void |
public BuildRequired ( string grammarFileName ) : bool | ||
grammarFileName | string | |
리턴 | bool |
protected CheckForInvalidArguments ( string args, Antlr cmdLineArgValid ) : void | ||
args | string | |
cmdLineArgValid | Antlr | |
리턴 | void |
protected GenerateRecognizer ( Grammar grammar ) : void | ||
grammar | Grammar | |
리턴 | void |
public GetFileDirectory ( string fileName ) : string | ||
fileName | string | |
리턴 | string |
public GetImportedVocabFile ( string vocabName ) : string | ||
vocabName | string | |
리턴 | string |
public GetLibraryFile ( string fileName ) : string | ||
fileName | string | |
리턴 | string |
public GetOutputDirectory ( string fileNameWithPath ) : System.IO.DirectoryInfo | ||
fileNameWithPath | string | |
리턴 | System.IO.DirectoryInfo |
public GetOutputFile ( Grammar g, string fileName ) : System.IO.TextWriter | ||
g | Grammar | |
fileName | string | |
리턴 | System.IO.TextWriter |
public GetRootGrammar ( string grammarFileName ) : Grammar | ||
grammarFileName | string | |
리턴 | Grammar |
public SetForceRelativeOutput ( bool forceRelativeOutput ) : void | ||
forceRelativeOutput | bool | |
리턴 | void |
public SetInputDirectory ( string inputDirectory ) : void | ||
inputDirectory | string | |
리턴 | void |
public SetOutputDirectory ( string outputDirectory ) : void | ||
outputDirectory | string | |
리턴 | void |
protected WriteGraphFile ( Grammar g, Rule r, string graph, string formatExtension ) : void | ||
g | Grammar | |
r | Rule | |
graph | string | |
formatExtension | string | |
리턴 | void |
protected WriteGraphFile ( Grammar g, string name, string graph, string formatExtension ) : void | ||
g | Grammar | |
name | string | |
graph | string | |
formatExtension | string | |
리턴 | void |
public static bool internalOption_PrintGrammarTree | ||
리턴 | bool |
public static bool internalOption_ShowNFAConfigsInDFA | ||
리턴 | bool |