Constructor SyntaxData
- Assembly
- Alternet.Scripter.Debugger.v9.dll
SyntaxData(RoslynScriptHost, Workspace, Document, SemanticModel, SyntaxTree, int)
Initializes a new instance of the SyntaxData
class with specified parameters.
public SyntaxData(RoslynScriptHost scriptHost, Workspace workspace, Document document, SemanticModel model, SyntaxTree tree, int positionInSource)
Parameters
scriptHost
RoslynScriptHostRoslyn-based script host used to compile the expression.
workspace
WorkspaceRoslyn-based Workspace used to compile the expression.
document
DocumentRoslyn-based Document used to compile the expression.
model
SemanticModelSemanticModel containing semantic information.
tree
SyntaxTreeSyntaxTree containing syntax information.
positionInSource
intCurrent position inside the expression.