Links

FileParseResult

Struct in Yarn.Compiler
Inherits from System.ValueType

Summary

Contains the result of parsing a single file of source code.
public struct FileParseResult

Remarks

This class provides only syntactic information about a parse - that is, it provides access to the parse tree, and the stream of tokens used to produce that parse tree.

Constructors

Name
Description
Initializes a new instance of the FileParseResult struct.

Methods

Name
Description

Properties

Name
Description
Name
The name of the file.
Tokens
The tokens extracted from the file.
Tree
The parse tree extracted from the file.