public Expression(bool isCxtBound, string value) : this() { VType = isCxtBound ? EValueTypes.GET_VAR_OR_CALL : EValueTypes.CONST; _Val = new UnionValue(value); }
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); }
public Expression(float value) : this() { VType = EValueTypes.CONST; _Val = new UnionValue(value); }