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

NameDescription
string nameThe name of the file.
Antlr4.Runtime.Tree.IParseTree treeThe parse tree extracted from the file.
Antlr4.Runtime.CommonTokenStream tokensThe tokens extracted from the file.
System.Collections.Generic.IEnumerable<Yarn.Compiler.Diagnostic> diagnosticsThe diagnostics produced from parsing the file.