C# Class ComponentFactory.Quicksilver.Binding.EvalNodeUnaryOp

EvalNode that represents a unary operation.
Inheritance: EvalNode
Mostra file Open project: ComponentFactory/Quicksilver

Private Properties

Property Type Description
EvaluateComplement EvalResult
EvaluateMinus EvalResult
EvaluateNot EvalResult
EvaluatePlus EvalResult

Public Methods

Method Description
EvalNodeUnaryOp ( UnaryOp operation, EvalNode child, System.Language language ) : System

Instantiate a new instance of the EvalNodeUnaryOp node.

Evaluate ( object thisObject ) : EvalResult

Evalaute this node and return result.

ToString ( ) : string

Human readable version of the algebraic expression.

Private Methods

Method Description
EvaluateComplement ( EvalResult ret ) : EvalResult
EvaluateMinus ( EvalResult ret ) : EvalResult
EvaluateNot ( EvalResult ret ) : EvalResult
EvaluatePlus ( EvalResult ret ) : EvalResult

Method Details

EvalNodeUnaryOp() public method

Instantiate a new instance of the EvalNodeUnaryOp node.
public EvalNodeUnaryOp ( UnaryOp operation, EvalNode child, System.Language language ) : System
operation UnaryOp Specifies the unary operation to represent.
child EvalNode Specifies the child node.
language System.Language Language used for evaluation.
return System

Evaluate() public method

Evalaute this node and return result.
public Evaluate ( object thisObject ) : EvalResult
thisObject object Reference to object that is exposed as 'this'.
return EvalResult

ToString() public method

Human readable version of the algebraic expression.
public ToString ( ) : string
return string