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

NameDescription

Initializes a new instance of the FileParseResult struct.

Methods

Properties

NameDescription

The name of the file.

The tokens extracted from the file.

The parse tree extracted from the file.

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.