Beispiel #1
0
 public MethodNode()
 {
     encapsulation    = null;
     methodHeaderNode = null;
     statemetBlock    = null;
     Modifier         = null;
     evaluated        = false;
 }
Beispiel #2
0
 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;
 }
Beispiel #3
0
 public void setModifier(MethodModifierNode modifier)
 {
     this.Modifier = modifier;
 }