C# Class Subtext.Scripting.Script.ScriptToken

Implements a linked list representing the script. This maps the structure of a script making it trivial to replace template parameters with their values.
Show file Open project: ayende/Subtext

Public Methods

Method Description
ToString ( ) : string

Returns a T:System.String that represents the current ScriptToken.

Private Methods

Method Description
AggregateText ( StringBuilder builder ) : void
Append ( TemplateParameter parameter ) : void
Append ( string text ) : void

Appends the specified text.

ScriptToken ( ) : System

Initializes a new instance of the ScriptToken class.

ScriptToken ( string text ) : System

Initializes a new instance of the ScriptToken class.

Method Details

ToString() public method

Returns a T:System.String that represents the current ScriptToken.
public ToString ( ) : string
return string