Beispiel #1
0
 public ImplicitConversionSymbolNode(TypeSymbolNode targetType,
                                     CodeGenerationInformation codeGenerationInfo,
                                     int lineNumber,
                                     int index) : base(string.Empty, lineNumber, index)
 {
     TargetTypeNode     = targetType;
     CodeGenerationInfo = codeGenerationInfo;
 }
Beispiel #2
0
 public PropertySymbolNode(string identifier,
                           TypeSymbolNode type,
                           CodeGenerationInformation codeGenerationInfo,
                           int lineNumber,
                           int index) : base(identifier, lineNumber, index)
 {
     TypeNode           = type;
     CodeGenerationInfo = codeGenerationInfo;
 }
 internal UnaryOperationSymbolNode(Operator @operator,
                                   TypeSymbolNode operandType,
                                   TypeSymbolNode returnType,
                                   CodeGenerationInformation codeGenerationInfo,
                                   int lineNumber,
                                   int index) : base(string.Empty, lineNumber, index)
 {
     Operator           = @operator;
     OperandTypeNode    = operandType;
     ReturnTypeNode     = returnType;
     CodeGenerationInfo = codeGenerationInfo;
 }
 internal BinaryOperationSymbolNode(Operator @operator,
                                    TypeSymbolNode leftType,
                                    TypeSymbolNode rightType,
                                    TypeSymbolNode returnType,
                                    CodeGenerationInformation codeGenerationInfo,
                                    int lineNumber,
                                    int index) : base(identifier: string.Empty, lineNumber, index)
 {
     Operator             = @operator;
     LeftOperandTypeNode  = leftType;
     RightOperandTypeNode = rightType;
     ReturnTypeNode       = returnType;
     CodeGenerationInfo   = codeGenerationInfo;
 }
 internal ParameterSymbolNode(string identifier, TypeSymbolNode type, int lineNumber, int index) : base(identifier, lineNumber, index)
 {
     TypeNode = type;
 }
Beispiel #6
0
 internal ConstantSymbolNode(string name, TypeSymbolNode type, int lineNumber, int index) : base(name, lineNumber, index)
 {
     Type = type;
 }