C# Class Ink.Parsed.FlowBase

Inheritance: Parsed.Object, INamedContent
Datei anzeigen Open project: inkle/ink Class Usage Examples

Public Properties

Property Type Description
variableDeclarations VariableAssignment>.Dictionary

Public Methods

Method Description
ContentWithNameAtLevel ( string name, FlowLevel level = null, bool deepSearch = false ) : Parsed.Object
FlowBase ( string name = null, List topLevelObjects = null, List arguments = null, bool isFunction = false ) : System.Collections.Generic
GenerateRuntimeObject ( ) : Runtime.Object
ResolveReferences ( Story context ) : void
ResolveVariableWithName ( string varName, Parsed fromNode ) : VariableResolveResult
ToString ( ) : string
TryAddNewVariableDeclaration ( VariableAssignment varDecl ) : void

Protected Methods

Method Description
PreProcessTopLevelObjects ( List topLevelObjects ) : void

Private Methods

Method Description
CheckForDisallowedFunctionFlowControl ( ) : void
DeepSearchForAnyLevelContent ( string name ) : Parsed.Object
GenerateArgumentVariableAssignments ( Runtime container ) : void
SplitWeaveAndSubFlowContent ( List contentObjs ) : List
ValidateTerminatingDivert ( Divert terminatingDivert ) : void
ValidateTermination ( ) : void
WarningInTermination ( Parsed terminatingObject, string additionalExplanation = null ) : void

Method Details

ContentWithNameAtLevel() public method

public ContentWithNameAtLevel ( string name, FlowLevel level = null, bool deepSearch = false ) : Parsed.Object
name string
level FlowLevel
deepSearch bool
return Parsed.Object

FlowBase() public method

public FlowBase ( string name = null, List topLevelObjects = null, List arguments = null, bool isFunction = false ) : System.Collections.Generic
name string
topLevelObjects List
arguments List
isFunction bool
return System.Collections.Generic

GenerateRuntimeObject() public method

public GenerateRuntimeObject ( ) : Runtime.Object
return Runtime.Object

PreProcessTopLevelObjects() protected method

protected PreProcessTopLevelObjects ( List topLevelObjects ) : void
topLevelObjects List
return void

ResolveReferences() public method

public ResolveReferences ( Story context ) : void
context Story
return void

ResolveVariableWithName() public method

public ResolveVariableWithName ( string varName, Parsed fromNode ) : VariableResolveResult
varName string
fromNode Parsed
return VariableResolveResult

ToString() public method

public ToString ( ) : string
return string

TryAddNewVariableDeclaration() public method

public TryAddNewVariableDeclaration ( VariableAssignment varDecl ) : void
varDecl VariableAssignment
return void

Property Details

variableDeclarations public_oe property

public Dictionary variableDeclarations
return VariableAssignment>.Dictionary