C# Class YAMP.ArgsOperator

Operator for arguments () for symbols (usually functions!).
Inheritance: RightUnaryOperator
Exibir arquivo Open project: FlorianRappl/YAMP Class Usage Examples

Public Properties

Property Type Description
OpLevel int
Symbol String

Public Methods

Method Description
ArgsOperator ( ) : System
ArgsOperator ( Expression content ) : System
Create ( ) : Operator
Create ( ParseEngine engine ) : Operator
Handle ( Expression expression, Value>.IDictionary symbols ) : Value
Handle ( Expression expression, Value>.IDictionary symbols, Value state ) : Value
Handle ( Expression expression, Value value, Value>.IDictionary symbols ) : Value
Perform ( Value left ) : Value
ToCode ( ) : String
ToDebug ( int padLeft, int tabsize ) : String

Returns a string to allow visualization of a Expression tree

ToString ( ) : String

Method Details

ArgsOperator() public method

public ArgsOperator ( ) : System
return System

ArgsOperator() public method

public ArgsOperator ( Expression content ) : System
content Expression
return System

Create() public method

public Create ( ) : Operator
return Operator

Create() public method

public Create ( ParseEngine engine ) : Operator
engine ParseEngine
return Operator

Handle() public method

public Handle ( Expression expression, Value>.IDictionary symbols ) : Value
expression Expression
symbols Value>.IDictionary
return Value

Handle() public method

public Handle ( Expression expression, Value>.IDictionary symbols, Value state ) : Value
expression Expression
symbols Value>.IDictionary
state Value
return Value

Handle() public method

public Handle ( Expression expression, Value value, Value>.IDictionary symbols ) : Value
expression Expression
value Value
symbols Value>.IDictionary
return Value

Perform() public method

public Perform ( Value left ) : Value
left Value
return Value

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

ToString() public method

public ToString ( ) : String
return String

Property Details

OpLevel public_oe static_oe property

public static int OpLevel
return int

Symbol public_oe static_oe property

public static String Symbol
return String