C# Class FyreVM.Engine.StrNode

ファイルを表示 Open project: ChicagoDave/Zifmia

Public Methods

Method Description
GetHandlingNode ( Engine e ) : StrNode

Returns the non-branch node that will handle the next string action.

When called on a branch node, this will consume one or more compressed string bits.

HandleNextChar ( Engine e ) : void

Performs the action associated with this string node: printing a character or string, terminating output, or reading a bit and delegating to another node.

When called on a branch node, this will consume one or more compressed string bits.

Protected Methods

Method Description
EmitChar ( Engine e, char ch ) : void
EmitChar ( Engine e, uint ch ) : void

Method Details

EmitChar() protected method

protected EmitChar ( Engine e, char ch ) : void
e Engine
ch char
return void

EmitChar() protected method

protected EmitChar ( Engine e, uint ch ) : void
e Engine
ch uint
return void

GetHandlingNode() public method

Returns the non-branch node that will handle the next string action.
When called on a branch node, this will consume one or more compressed string bits.
public GetHandlingNode ( Engine e ) : StrNode
e Engine The that is printing.
return StrNode

HandleNextChar() public abstract method

Performs the action associated with this string node: printing a character or string, terminating output, or reading a bit and delegating to another node.
When called on a branch node, this will consume one or more compressed string bits.
public abstract HandleNextChar ( Engine e ) : void
e Engine The that is printing.
return void