Beispiel #1
0
 public Expression(bool isCxtBound, string value)   : this()
 {
     VType = isCxtBound ?
             EValueTypes.GET_VAR_OR_CALL :
             EValueTypes.CONST;
     _Val = new UnionValue(value);
 }
Beispiel #2
0
 public Expression(EOperatorType op) : this()
 {
     VType = op == EOperatorType.Unary_Negation ?
             EValueTypes.OP_UNARY :
             EValueTypes.OP_BINARY;
     _operator = op;
     // to mark it as 'not an error'
     _Val = new UnionValue(true);
 }
Beispiel #3
0
 public Expression(float value) : this()
 {
     VType = EValueTypes.CONST;
     _Val  = new UnionValue(value);
 }