Beispiel #1
0
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, TypeSymbol operandType, TypeSymbol resultType)
 {
     SyntaxKind  = syntaxKind;
     Kind        = kind;
     OperandType = operandType;
     Type        = resultType;
 }
 private BoundUnaryOperator(SyntaxKind _syntaxKind, BoundUnaryOperatorKind _kind, Type _operandType, Type _resultType)
 {
     SyntaxKind  = _syntaxKind;
     Kind        = _kind;
     OperandType = _operandType;
     Type        = _resultType;
 }
Beispiel #3
0
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, TypeSymbol operandType, TypeSymbol resultType)
 {
     this.TkType      = syntaxKind;
     this.Kind        = kind;
     this.OperandType = operandType;
     this.Type        = resultType;
 }
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, Type operandType, Type resultType)
 {
     this.SyntaxKind  = syntaxKind;
     this.Kind        = kind;
     this.OperandType = operandType;
     this.ResultType  = resultType;
 }
Beispiel #5
0
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, Type operandType, Type type)
 {
     SyntaxKind  = syntaxKind;
     Kind        = kind;
     OperandType = operandType;
     Type        = type;
 }
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, Type operandType, Type resultType)
 {
     SyntaxKind  = syntaxKind;
     Kind        = kind;
     OperandType = operandType;
     ResultType  = resultType ?? operandType;
 }
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind unaryOperatorKind, Type operandType, Type resultType)
 {
     SyntaxKind        = syntaxKind;
     UnaryOperatorKind = unaryOperatorKind;
     OperandType       = operandType;
     Type = resultType;
 }
 private BoundUnaryOperator(NodeKind syntaxKind, BoundUnaryOperatorKind kind, Type operandType, Type resultType)
 {
     NodeKind    = syntaxKind;
     Kind        = kind;
     OperandType = operandType;
     Type        = resultType;
 }
Beispiel #9
0
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, TypeComparator operandComp, TypeSymbol returnType, Operation operation)
 {
     SyntaxKind  = syntaxKind;
     Kind        = kind;
     OperandComp = operandComp;
     Type        = returnType;
     Operate     = operation;
 }
 private BoundUnaryOperator(
     TokenKind tokenKind,
     BoundUnaryOperatorKind kind,
     TypeSymbol operandType
     )
     : this(tokenKind, kind, operandType, operandType)
 {
 }
 private BoundUnaryOperator(
     TokenKind tokenKind,
     BoundUnaryOperatorKind kind,
     TypeSymbol operandType,
     TypeSymbol resultType)
 {
     TokenKind   = tokenKind;
     Kind        = kind;
     OperandType = operandType;
     Type        = resultType;
 }
Beispiel #12
0
 private BoundUnaryOperator(BoundUnaryOperatorKind kind, BoundType operandType, BoundType resultType)
 {
     Kind        = kind;
     OperandType = operandType;
     ResultType  = resultType;
 }
Beispiel #13
0
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, TypeSymbol operandType)
     : this(syntaxKind, kind, operandType, operandType)
 {
 }
Beispiel #14
0
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind unaryOperatorKind, Type operandType)
     : this(syntaxKind, unaryOperatorKind, operandType, operandType)
 {
 }
 private static BoundUnaryOperator From(TokenKind tokenKind, BoundUnaryOperatorKind op, TypeSymbol type)
 => new BoundUnaryOperator(tokenKind, op, type);
Beispiel #16
0
 public BoundUnaryExpression(BoundUnaryOperatorKind operatorKind, BoundExpression operand)
 {
     OperatorKind = operatorKind;
     Operand      = operand;
 }
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, Type type) :
     this(syntaxKind, kind, type, type)
 {
 }
Beispiel #18
0
 public BoundUnaryExpression(BoundUnaryOperatorKind inOperatorKind, BoundExpression inOperand)
 {
     OperatorKind = inOperatorKind;
     Operand      = inOperand;
 }
Beispiel #19
0
 public BoundUnaryOperator(SyntaxKind syntaxkind, BoundUnaryOperatorKind kind, Type OperandType)
     : this(syntaxkind, kind, OperandType, OperandType)
 {
 }
Beispiel #20
0
 public BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, TypeSymbol operatorType)
     : this(syntaxKind, kind, operatorType, operatorType)
 {
 }
Beispiel #21
0
 public BoundUnaryOperator(TokenKind syntaxKind, BoundUnaryOperatorKind kind)
 {
     SyntaxKind = syntaxKind;
     Kind       = kind;
 }
 private BoundUnaryOperator(NodeKind syntaxKind, BoundUnaryOperatorKind kind, Type operandType)
     : this(syntaxKind, kind, operandType, operandType)
 {
 }
 private BoundUnaryOperator(SyntaxKind _syntaxKind, BoundUnaryOperatorKind _kind, Type _operandType)
     : this(_syntaxKind, _kind, _operandType, _operandType)
 {
 }
Beispiel #24
0
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind kind, TypeComparator operandComp, Operation operation) : this(syntaxKind, kind, operandComp, null, operation)
 {
 }
Beispiel #25
0
 private BoundUnaryOperator(SyntaxKind syntaxKind, BoundUnaryOperatorKind operatorKind, TypeSymbol operandType, TypeSymbol resultType) =>
 (this.SyntaxKind, this.OperatorKind, this.OperandType, this.ResultType) = (syntaxKind, operatorKind, operandType, resultType);