C# Class Yarn.Loader

Show file Open project: thesecretlab/YarnSpinner Class Usage Examples

Public Methods

Method Description
Load ( string text, Library library, string fileName, Program includeProgram, bool showTokens, bool showParseTree, string onlyConsiderNode ) : Program
Loader ( Dialogue dialogue ) : System

Private Methods

Method Description
ParseInput ( string text ) : NodeInfo[]
PrintParseTree ( Yarn rootNode ) : void
PrintTokenList ( IEnumerable tokenList ) : void

Method Details

Load() public method

public Load ( string text, Library library, string fileName, Program includeProgram, bool showTokens, bool showParseTree, string onlyConsiderNode ) : Program
text string
library Library
fileName string
includeProgram Program
showTokens bool
showParseTree bool
onlyConsiderNode string
return Program

Loader() public method

public Loader ( Dialogue dialogue ) : System
dialogue Dialogue
return System