예제 #1
0
 public MethodNode(IdentifierNode identifier, TypeDeclarationNode returnType, EncapsulationNode encapsulation, Token modifier) : this()
 {
     this.identifier    = identifier;
     this.returnType    = returnType;
     this.encapsulation = encapsulation;
     this.modifier      = modifier;
 }
예제 #2
0
 public FieldNode(TypeDeclarationNode type, IdentifierNode identifier, EncapsulationNode encapsulation, Token modifier)
 {
     this.type          = type;
     this.identifier    = identifier;
     this.encapsulation = encapsulation;
     this.modifier      = modifier;
 }
 public ConstructorCallExpressionNode(TypeDeclarationNode type, List <ArgumentNode> args)
 {
     this.type = type;
     this.args = args;
 }
예제 #4
0
 public ConditionalIsExpressionNode(ExpressionNode left, Token operador, TypeDeclarationNode right)
 {
     this.left     = left;
     this.operador = operador;
     this.type     = right;
 }
예제 #5
0
 public CastingExpressionNode(TypeDeclarationNode targetType, List <ExpressionNode> expression)
 {
     this.targetType = targetType;
     this.expression = expression;
 }
예제 #6
0
 public FieldNode(TypeDeclarationNode type, IdentifierNode identifier, EncapsulationNode encapsulation, Token modifier, VariableInitializer assignment) : this(type, identifier, encapsulation, modifier)
 {
     this.assignment = assignment;
 }