Exemplo n.º 1
0
 //Operation doesn't changes the operand type
 public SemanticUnaryOperator(TokenType tokenKind, SemanticUnaryOperatorKind kind,
                              Type operandType, Type resultType)
 {
     TokenType   = tokenKind;
     Kind        = kind;
     OperandType = operandType;
     ResultType  = resultType;
 }
Exemplo n.º 2
0
 //Operation doesn't change the operand type
 public SemanticUnaryOperator(TokenType tokenKind, SemanticUnaryOperatorKind kind, Type operandType)
     : this(tokenKind, kind, operandType, operandType)
 {
 }