C# Class YAMP.NumberExpression

This class evaluates and creates number 012345 expressions.
Inheritance: Expression
Mostrar archivo Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
Interpret ( Value>.IDictionary symbols ) : Value
NumberExpression ( ) : System
NumberExpression ( ParseEngine engine ) : System
NumberExpression ( ScalarValue content ) : System
Scan ( ParseEngine engine ) : Expression
ToCode ( ) : String
ToDebug ( int padLeft, int tabsize ) : String

Returns a string to allow visualization of a Expression tree

Private Methods

Method Description
ToDoubleNumber ( Char p ) : Double
ToInt32Number ( Char p ) : Int32

Method Details

Interpret() public method

public Interpret ( Value>.IDictionary symbols ) : Value
symbols Value>.IDictionary
return Value

NumberExpression() public method

public NumberExpression ( ) : System
return System

NumberExpression() public method

public NumberExpression ( ParseEngine engine ) : System
engine ParseEngine
return System

NumberExpression() public method

public NumberExpression ( ScalarValue content ) : System
content ScalarValue
return System

Scan() public method

public Scan ( ParseEngine engine ) : Expression
engine ParseEngine
return Expression

ToCode() public method

public ToCode ( ) : String
return String

ToDebug() public method

Returns a string to allow visualization of a Expression tree
public ToDebug ( int padLeft, int tabsize ) : String
padLeft int
tabsize int
return String