| java.lang.Object com.google.gwt.dev.js.rhino.Node
Node | public class Node implements Cloneable(Code) | | This class implements the root of the intermediate representation.
author: Norris Boyd author: Mike McCabe |
Constructor Summary | |
public | Node(int nodeType) | public | Node(int nodeType, Node child) | public | Node(int nodeType, Node left, Node right) | public | Node(int nodeType, Node left, Node mid, Node right) | public | Node(int nodeType, Node left, Node mid, Node mid2, Node right) | public | Node(int nodeType, Node[] children) | public | Node(int nodeType, int value) | public | Node(int nodeType, Node child, int value) | public | Node(int nodeType, Node left, Node right, int value) | public | Node(int nodeType, Node left, Node mid, Node right, int value) |
BOTHLEFTRIGHT | final public static int BOTHLEFTRIGHT(Code) | | |
TARGET_PROPBREAK_PROPCONTINUE_PROPENUM_PROPFUNCTION_PROPTEMP_PROPLOCAL_PROPCODEOFFSET_PROPFIXUPS_PROPVARS_PROPUSES_PROPREGEXP_PROPCASES_PROPDEFAULT_PROPCASEARRAY_PROPSOURCENAME_PROPSOURCE_PROPTYPE_PROPSPECIAL_PROP_PROPLABEL_PROPFINALLY_PROPLOCALCOUNT_PROPTARGETBLOCK_PROPVARIABLE_PROPLASTUSE_PROPISNUMBER_PROPDIRECTCALL_PROPBASE_LINENO_PROPEND_LINENO_PROPSPECIALCALL_PROPDEBUGSOURCE_PROP | final public static int TARGET_PROPBREAK_PROPCONTINUE_PROPENUM_PROPFUNCTION_PROPTEMP_PROPLOCAL_PROPCODEOFFSET_PROPFIXUPS_PROPVARS_PROPUSES_PROPREGEXP_PROPCASES_PROPDEFAULT_PROPCASEARRAY_PROPSOURCENAME_PROPSOURCE_PROPTYPE_PROPSPECIAL_PROP_PROPLABEL_PROPFINALLY_PROPLOCALCOUNT_PROPTARGETBLOCK_PROPVARIABLE_PROPLASTUSE_PROPISNUMBER_PROPDIRECTCALL_PROPBASE_LINENO_PROPEND_LINENO_PROPSPECIALCALL_PROPDEBUGSOURCE_PROP(Code) | | |
Node | public Node(int nodeType)(Code) | | |
Node | public Node(int nodeType, Node[] children)(Code) | | |
Node | public Node(int nodeType, int value)(Code) | | |
Node | public Node(int nodeType, Node child, int value)(Code) | | |
addChildAfter | public void addChildAfter(Node newChild, Node node)(Code) | | Add 'child' after 'node'.
|
addChildBefore | public void addChildBefore(Node newChild, Node node)(Code) | | Add 'child' before 'node'.
|
addChildToBack | public void addChildToBack(Node child)(Code) | | |
addChildToFront | public void addChildToFront(Node child)(Code) | | |
addChildrenToBack | public void addChildrenToBack(Node children)(Code) | | |
addChildrenToFront | public void addChildrenToFront(Node children)(Code) | | |
checkTreeEquals | public String checkTreeEquals(Node node2)(Code) | | Checks if the subtree under this node is the same as another subtree.
Returns null if it's equal, or a message describing the differences.
|
getChildCount | public int getChildCount()(Code) | | |
getExistingIntProp | public int getExistingIntProp(int propType)(Code) | | |
getIntDatum | public int getIntDatum()(Code) | | |
getIntProp | public int getIntProp(int propType, int defaultValue)(Code) | | |
getLineno | public int getLineno()(Code) | | |
getOperation | public int getOperation()(Code) | | |
getType | public int getType()(Code) | | |
hasChildren | public boolean hasChildren()(Code) | | |
hashCode | final public int hashCode()(Code) | | Not usefully implemented.
|
isSyntheticBlock | public boolean isSyntheticBlock()(Code) | | |
newNumber | public static Node newNumber(double number)(Code) | | |
putIntProp | public void putIntProp(int propType, int prop)(Code) | | |
removeChild | public void removeChild(Node child)(Code) | | |
removeProp | public void removeProp(int propType)(Code) | | |
replaceChildAfter | public void replaceChildAfter(Node prevChild, Node newChild)(Code) | | |
setIsSyntheticBlock | public void setIsSyntheticBlock(boolean val)(Code) | | |
setType | public void setType(int type)(Code) | | |
|
|