C# Class YAMP.MatrixExpression

The matrix [ ... ] expression.
Inheritance: TreeExpression
Exibir arquivo Open project: FlorianRappl/YAMP

Public Methods

Method Description
Interpret ( Value>.IDictionary symbols ) : Value

Begins interpreting the matrix expression.

MatrixExpression ( ) : System

Creates a new instance.

MatrixExpression ( Int32 line, Int32 column, Int32 length, QueryContext query, ContainerExpression child ) : System

Creates a new instance with some parameters.

Scan ( ParseEngine engine ) : Expression

Scans the current parse engine for a matrix expression.

ToCode ( ) : String

Transforms the expression into YAMP query code.

Method Details

Interpret() public method

Begins interpreting the matrix expression.
public Interpret ( Value>.IDictionary symbols ) : Value
symbols Value>.IDictionary External symbols to load.
return Value

MatrixExpression() public method

Creates a new instance.
public MatrixExpression ( ) : System
return System

MatrixExpression() public method

Creates a new instance with some parameters.
public MatrixExpression ( Int32 line, Int32 column, Int32 length, QueryContext query, ContainerExpression child ) : System
line System.Int32 The line where the matrix expression starts.
column System.Int32 The column in the line where the matrix exp. starts.
length System.Int32 The length of the matrix expression.
query QueryContext The associated query context.
child ContainerExpression The child containing the column and rows.
return System

Scan() public method

Scans the current parse engine for a matrix expression.
public Scan ( ParseEngine engine ) : Expression
engine ParseEngine The parse engine to use.
return Expression

ToCode() public method

Transforms the expression into YAMP query code.
public ToCode ( ) : String
return String