FileParseResult
Struct in Yarn.Compiler
Inherits from System.ValueType
Summary
Contains the result of parsing a single file of source code.
public struct FileParseResult : ISourceInputRemarks
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 |
|---|---|
| FileParseResult(string,IParseTree,CommonTokenStream,IEnumerable | Initializes a new instance of the FileParseResult struct. |
Methods
| Name | Description |
|---|---|
| Equals(object) | |
| GetHashCode() |
Properties
| Name | Description |
|---|---|
| Diagnostics | The tokens extracted from the file. |
| FileName | The name of the input. |
| Name | The name of the file. |
| Tokens | The tokens extracted from the file. |
| Tree | The parse tree extracted from the file. |