Method | Description | |
---|---|---|
CompileFile ( string inputFile, string outputFile, Action |
Parse and compile a PEG grammar from a file.
|
|
CompileString ( string subject, string fileName = null ) : |
Parse and compile a PEG grammar from a string.
|
public static CompileFile ( string inputFile, string outputFile, Action |
||
inputFile | string | The source filename. |
outputFile | string | The desired destination filename, or |
logError | Action |
An action that will be called for every warning or error. |
return | void |
public static CompileString ( string subject, string fileName = null ) : |
||
subject | string | The PEG grammar to parse and compile. |
fileName | string | The filename to use in errors. |
return |