Exemplo n.º 1
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;
 }
Exemplo n.º 2
0
 public ParamDeclNode(TypeNode typeNode, IdentifierNode identifierNode, int lineNumber)
 {
     this.identifier = identifierNode;
     this.type = typeNode;
     this.lineNumber = lineNumber;
 }