Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Property in CompilationResult
Gets a value indicating whether this compilation result contains any error diagnostics.
If this value is true, then the value contained in Program will not contain a valid output.
Property in CompilationResult
Gets a value indicating whether the compiler had to create line IDs for lines in the source code that lacked #line:
tags.
Every line is required to have a line ID. If a line doesn't have a line ID specified in the source code (via a #line:
tag), the compiler will create one.
Implicit line IDs are guaranteed to remain the same between compilations when the source file does not change. If you want line IDs to remain the same when the source code may be modified in the future, add a #line:
tag to the line. This may be done by hand, or added using the AddTagsToLines(string,ICollection<string>) method.
Class in Yarn.Compiler
Inherits from System.Object
The result of a compilation.
Instances of this class are produced as a result of supplying a CompilationJob to Compile(CompilationJob) .
Gets a value indicating whether this compilation result contains any error diagnostics.
Gets a value indicating whether the compiler had to create line IDs for lines in the source code that lacked #line:
tags.
Gets the collection of variable declarations that were found during compilation.
Gets the collection of file-level tags found in the source code.
Gets the debugging information for this compiled project.
Gets a dictionary mapping line IDs to StringInfo objects.
Gets a collection of any types that were defined by the user in the input (for example, user-defined enum types.)
Gets the collection of objects for each node in .
Gets the collection of objects that describe problems in the source code.
Gets the compiled Yarn program that the produced.
Property in
Gets a dictionary mapping line IDs to StringInfo objects.
The string table contains the extracted line text found in the provided source code. The keys of this dictionary are the line IDs for each line - either through explicit line tags indicated through the #line:
tag, or implicitly-generated line IDs that the compiler added during compilation.