Table of Contents

Method Prepare

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

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 string

File to parse

lines IStringList

Strings to parse

syntaxTree ISyntaxTree

Specifies current parser tree.

useThread bool

Specifies whether parser should perform the task in the separate thread

reason PrepareReason

Reason 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 string

Filename to parse

lines IStringList

Strings to parse

reason PrepareReason

Reason for this method to be called.