Пример #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;
 }
Пример #2
0
 public ParamDeclNode(TypeNode typeNode, IdentifierNode identifierNode, int lineNumber)
 {
     this.identifier = identifierNode;
     this.type = typeNode;
     this.lineNumber = lineNumber;
 }