Java Doc for Node.java in  » Ajax » GWT » com » google » gwt » dev » js » rhino » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » GWT » com.google.gwt.dev.js.rhino 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
final public static  intBOTHLEFTRIGHT
    
final public static  intTARGET_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
    
 Nodenext
    
 inttype
    

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)
    

Method Summary
public  voidaddChildAfter(Node newChild, Node node)
     Add 'child' after 'node'.
public  voidaddChildBefore(Node newChild, Node node)
     Add 'child' before 'node'.
public  voidaddChildToBack(Node child)
    
public  voidaddChildToFront(Node child)
    
public  voidaddChildrenToBack(Node children)
    
public  voidaddChildrenToFront(Node children)
    
public  StringcheckTreeEquals(Node node2)
     Checks if the subtree under this node is the same as another subtree.
public  NodecloneNode()
    
public  NodecloneTree()
    
public  booleanequals(Object o)
    
public  NodegetChildBefore(Node child)
    
public  intgetChildCount()
    
public  doublegetDouble()
    
public  intgetExistingIntProp(int propType)
    
public  NodegetFirstChild()
    
public  intgetIntDatum()
    
public  intgetIntProp(int propType, int defaultValue)
    
public  NodegetLastChild()
    
public  NodegetLastSibling()
    
public  intgetLineno()
    
public  NodegetNext()
    
public  intgetOperation()
    
public  ObjectgetProp(int propType)
    
public  StringgetString()
     Can only be called when node has String context.
public  intgetType()
    
public  booleanhasChildren()
    
final public  inthashCode()
     Not usefully implemented.
public  booleanisSyntheticBlock()
    
public static  NodenewNumber(double number)
    
public static  NodenewString(String str)
    
public static  NodenewString(int type, String str)
    
public  voidputIntProp(int propType, int prop)
    
public  voidputProp(int propType, Object prop)
    
public  voidremoveChild(Node child)
    
public  voidremoveProp(int propType)
    
public  voidreplaceChild(Node child, Node newChild)
    
public  voidreplaceChildAfter(Node prevChild, Node newChild)
    
public  voidsetIsSyntheticBlock(boolean val)
    
public  voidsetString(String s)
     Can only be called when node has String context.
public  voidsetType(int type)
    
public  StringtoString()
    
public  StringtoStringTree()
    

Field Detail
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)



next
Node next(Code)



type
int type(Code)




Constructor Detail
Node
public Node(int nodeType)(Code)



Node
public Node(int nodeType, Node child)(Code)



Node
public Node(int nodeType, Node left, Node right)(Code)



Node
public Node(int nodeType, Node left, Node mid, Node right)(Code)



Node
public Node(int nodeType, Node left, Node mid, Node mid2, Node right)(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)



Node
public Node(int nodeType, Node left, Node right, int value)(Code)



Node
public Node(int nodeType, Node left, Node mid, Node right, int value)(Code)




Method Detail
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.



cloneNode
public Node cloneNode()(Code)



cloneTree
public Node cloneTree()(Code)



equals
public boolean equals(Object o)(Code)



getChildBefore
public Node getChildBefore(Node child)(Code)



getChildCount
public int getChildCount()(Code)



getDouble
public double getDouble() throws UnsupportedOperationException(Code)
Can only be called when getType() == TokenStream.NUMBER



getExistingIntProp
public int getExistingIntProp(int propType)(Code)



getFirstChild
public Node getFirstChild()(Code)



getIntDatum
public int getIntDatum()(Code)



getIntProp
public int getIntProp(int propType, int defaultValue)(Code)



getLastChild
public Node getLastChild()(Code)



getLastSibling
public Node getLastSibling()(Code)



getLineno
public int getLineno()(Code)



getNext
public Node getNext()(Code)



getOperation
public int getOperation()(Code)



getProp
public Object getProp(int propType)(Code)



getString
public String getString() throws UnsupportedOperationException(Code)
Can only be called when node has String context.



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)



newString
public static Node newString(String str)(Code)



newString
public static Node newString(int type, String str)(Code)



putIntProp
public void putIntProp(int propType, int prop)(Code)



putProp
public void putProp(int propType, Object prop)(Code)



removeChild
public void removeChild(Node child)(Code)



removeProp
public void removeProp(int propType)(Code)



replaceChild
public void replaceChild(Node child, Node newChild)(Code)



replaceChildAfter
public void replaceChildAfter(Node prevChild, Node newChild)(Code)



setIsSyntheticBlock
public void setIsSyntheticBlock(boolean val)(Code)



setString
public void setString(String s) throws UnsupportedOperationException(Code)
Can only be called when node has String context.



setType
public void setType(int type)(Code)



toString
public String toString()(Code)



toStringTree
public String toStringTree()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.