Compiler

Class in Yarn.Compiler

Inherits from System.Object

Summary

Compiles Yarn code.

public static class Compiler

Methods

NameDescription
Compile(CompilationJob)Compiles Yarn code, as specified by a compilation job.
FlattenParseTree(IParseTree)Flattens a tree of Antlr4.Runtime.Tree.IParseTree objects by recursively visiting their children, and converting them into a flat System.Collections.Generic.IEnumerable`1 .
GetDocumentComments(CommonTokenStream,ParserRuleContext,bool)Gets the text of the documentation comments that either immediately precede context , or are on the same line as context .
GetLineIDForNodeName(string)Generates a line id for a raw text node