FileParseResult(string,IParseTree,CommonTokenStream,IEnumerable)
Constructor in FileParseResult
Summary
Initializes a new instance of the FileParseResult struct.
public FileParseResult(string name, IParseTree tree, CommonTokenStream tokens, IEnumerable<Diagnostic> diagnostics)Parameters
| Name | Description |
|---|---|
string name | The name of the file. |
Antlr4.Runtime.Tree.IParseTree tree | The parse tree extracted from the file. |
Antlr4.Runtime.CommonTokenStream tokens | The tokens extracted from the file. |
System.Collections.Generic.IEnumerable<Yarn.Compiler.Diagnostic> diagnostics | The diagnostics produced from parsing the file. |