C# Class YAMP.QueryContext

Represents the context that is used for the current input query.
ファイルを表示 Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
QueryContext ( ParseContext context, String input ) : System

Creates a new query context.

Run ( Value>.Dictionary values ) : void

Begins the interpretation of the current parse tree.

ToString ( ) : String

Outputs the string representation of the query context.

Private Methods

Method Description
GetFromBuffer ( String functionName ) : IFunction
QueryContext ( ParseContext context ) : System

Just a stupid dummy!

QueryContext ( QueryContext query, String input ) : System

Creates a new (underlying) QueryContext

SetToBuffer ( String functionName, IFunction function ) : void
Stop ( ) : void

Stops the current interpretation.

Method Details

QueryContext() public method

Creates a new query context.
public QueryContext ( ParseContext context, String input ) : System
context ParseContext The context to reference.
input String The input to parse
return System

Run() public method

Begins the interpretation of the current parse tree.
public Run ( Value>.Dictionary values ) : void
values Value>.Dictionary A dictionary with additional symbols to consider.
return void

ToString() public method

Outputs the string representation of the query context.
public ToString ( ) : String
return String