Esempio n. 1
0
 public ClassDeclNode(IdentifierNode classNameNode, ExtendsNode extendsClassNode, VariableDeclListNode variableDeclListNode, MethodDeclListNode methodDeclListNode, int lineNumber)
 {
     this.className = classNameNode;
     this.extendsClass = extendsClassNode;
     this.variableDeclList = variableDeclListNode;
     this.methodDeclList = methodDeclListNode;
     this.lineNumber = lineNumber;
 }
Esempio n. 2
0
 public ClassDeclNode(IdentifierNode classNameNode, ExtendsNode extendsClassNode, VariableDeclListNode variableDeclListNode, MethodDeclListNode methodDeclListNode, int lineNumber)
 {
     this.className        = classNameNode;
     this.extendsClass     = extendsClassNode;
     this.variableDeclList = variableDeclListNode;
     this.methodDeclList   = methodDeclListNode;
     this.lineNumber       = lineNumber;
 }
Esempio n. 3
0
 public MethodDeclNode(TypeNode typeNode, IdentifierNode identifierNode, ParamDeclListNode paramListNode, VariableDeclListNode variableListNode, StatementListNode statementListNode, int lineNumber)
 {
     this.methodType = typeNode;
     this.methodName = identifierNode;
     this.paramDeclList = paramListNode;
     this.variableDeclList = variableListNode;
     this.statementList = statementListNode;
     this.lineNumber = lineNumber;
 }
Esempio n. 4
0
 public MethodDeclNode(TypeNode typeNode, IdentifierNode identifierNode, ParamDeclListNode paramListNode, VariableDeclListNode variableListNode, StatementListNode statementListNode, int lineNumber)
 {
     this.methodType       = typeNode;
     this.methodName       = identifierNode;
     this.paramDeclList    = paramListNode;
     this.variableDeclList = variableListNode;
     this.statementList    = statementListNode;
     this.lineNumber       = lineNumber;
 }