Table of Contents

Method Prepare

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

Prepare(string, IStringList, ISyntaxTree, bool, PrepareReason)

Sets lines to parse.

public override 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.