Method Prepare
Prepare(string, IStringList, ISyntaxTree, bool, PrepareReason)
Sets lines to parse.
public virtual void Prepare(string fileName, IStringList lines, ISyntaxTree syntaxTree, bool useThread, PrepareReason reason = PrepareReason.None)
Parameters
fileName
stringFile to parse
lines
IStringListStrings to parse
syntaxTree
ISyntaxTreeSpecifies current parser tree.
useThread
boolSpecifies whether parser should perform the task in the separate thread
reason
PrepareReasonReason for this method to be called.
Prepare(string, IStringList, PrepareReason)
When implemented by a class, sets lines to parse.
public void Prepare(string fileName, IStringList lines, PrepareReason reason = PrepareReason.None)
Parameters
fileName
stringFilename to parse
lines
IStringListStrings to parse
reason
PrepareReasonReason for this method to be called.