Changeset 2976


Ignore:
Timestamp:
Mar 27, 2013, 2:36:21 PM (4 years ago)
Author:
ksherdy
Message:

Minor updates to ASTNode.

Location:
proto/pabloj/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/src/pabloB/ast/ASTNode.java

    r2964 r2976  
    104104                children.add(0, child);
    105105                child.setParent(this);
    106         }
    107         // adds a new child to this node (as the first child) and sets its parent link.
    108         public void prependChild(ASTNode child) {
    109                 children.add(0, child);
    110                 child.setParent(child);
    111106        }       
    112107        // adds a new child to this node (as last child) and sets its parent link.
  • proto/pabloj/trunk/src/pabloS/ast/ASTNode.java

    r2964 r2976  
    104104                children.add(0, child);
    105105                child.setParent(this);
    106         }
    107         // adds a new child to this node (as the first child) and sets its parent link.
    108         public void prependChild(ASTNode child) {
    109                 children.add(0, child);
    110                 child.setParent(child);
    111106        }       
    112107        // adds a new child to this node (as last child) and sets its parent link.
Note: See TracChangeset for help on using the changeset viewer.