public MethodNode() { encapsulation = null; methodHeaderNode = null; statemetBlock = null; Modifier = null; evaluated = false; }
public MethodNode(MethodHeaderNode methodHeaderNode, StatementBlockNode statemetBlock, Token token) { this.methodHeaderNode = methodHeaderNode; this.encapsulation = new EncapsulationNode(TokenType.RW_PRIVATE, token); this.statemetBlock = statemetBlock; this.Modifier = null; this.token = token; evaluated = false; }