Example #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;
 }
Example #2
0
 public FieldNode(TypeDeclarationNode type, IdentifierNode identifier, EncapsulationNode encapsulation, Token modifier)
 {
     this.type          = type;
     this.identifier    = identifier;
     this.encapsulation = encapsulation;
     this.modifier      = modifier;
 }
Example #3
0
 public ConstructorNode(IdentifierNode identifier, EncapsulationNode encapsulation, Token modifier)
 {
     this.identifier    = identifier;
     this.encapsulation = encapsulation;
     this.modifier      = modifier;
 }
Example #4
0
 public TypeDeclarationNode()
 {
     this.encapsulation_modifier = new EncapsulationNode();
     this.identifier             = new IdentifierNode();
 }
Example #5
0
 public FieldNode(TypeDeclarationNode type, IdentifierNode identifier, EncapsulationNode encapsulation, Token modifier, VariableInitializer assignment) : this(type, identifier, encapsulation, modifier)
 {
     this.assignment = assignment;
 }