Compiler Class

Compiles Yarn code.

public class Compiler : YarnSpinnerParserBaseListener, IYarnSpinnerParserListener, IParseTreeListener

Methods

Name Description
CompileFile(String, out Program, out IDictionary<String, StringInfo>) Reads the contents of a file at a given path, and generates a program and a derived string table from its contents.
CompileString(String, String, out Program, out IDictionary<String, StringInfo>) Generates a program and a derived string table from the contents of a string.

Source

Defined in YarnSpinner.Compiler/Compiler.cs, line 110.