Ejemplo 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;
 }
Ejemplo n.º 2
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;
 }
Ejemplo n.º 3
0
 public StatementBlockNode(StatementListNode statementListNode, int lineNumber)
 {
     this.statementList = statementListNode;
     this.lineNumber    = lineNumber;
 }
Ejemplo n.º 4
0
 public StatementBlockNode(StatementListNode statementListNode, int lineNumber)
 {
     this.statementList = statementListNode;
     this.lineNumber = lineNumber;
 }