Java Doc for Expr.java in  » EJB-Server-resin-3.1.5 » ecmascript » com » caucho » es » parser » 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 » EJB Server resin 3.1.5 » ecmascript » com.caucho.es.parser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.es.parser.Expr

All known Subclasses:   com.caucho.es.parser.ConditionalExpr,  com.caucho.es.parser.TypeExpr,  com.caucho.es.parser.TopExpr,  com.caucho.es.parser.PlusExpr,  com.caucho.es.parser.IdExpr,  com.caucho.es.parser.JavaClassExpr,  com.caucho.es.parser.AssignExpr,  com.caucho.es.parser.BinaryExpr,  com.caucho.es.parser.PackageExpr,  com.caucho.es.parser.BooleanExpr,  com.caucho.es.parser.CallExpr,  com.caucho.es.parser.CastExpr,  com.caucho.es.parser.LiteralExpr,  com.caucho.es.parser.FieldExpr,  com.caucho.es.parser.PostfixExpr,  com.caucho.es.parser.SpecialExpr,  com.caucho.es.parser.RegexpExpr,  com.caucho.es.parser.DeleteExpr,  com.caucho.es.parser.UnaryExpr,
Expr
class Expr (Code)
Expr is an intermediate form representing an expression.


Field Summary
final protected static  intTYPE_BOOLEAN
    
final protected static  intTYPE_ES
    
final protected static  intTYPE_INTEGER
    
final protected static  intTYPE_JAVA
    
final protected static  intTYPE_LONG
    
final protected static  intTYPE_NUMBER
    
final protected static  intTYPE_STRING
    
final protected static  intTYPE_UNKNOWN
    
final protected static  intTYPE_VOID
    
protected  Blockblock
    
protected  ParseClasscl
    
protected  Functionfunction
    
protected  booleanisTop
    
protected  ClassjavaType
    
protected  booleannoValue
    
protected  inttype
    
protected  intwithDepth
    

Constructor Summary
 Expr(Block block)
    

Method Summary
 Exprassign(Expr value)
    
 ExprbinaryOp(int lex, int op, Expr rexpr)
    
 Exprcast(Expr castType)
    
 Exprconditional(Expr mexpr, Expr rexpr)
    
 Exprdelete()
    
 ExprdoVoid()
    
 voidexprStatement(Function fun)
    
 ExprfieldReference(Expr expr)
    
 ExprfieldReference(ESId id)
    
 StringgetFilename()
    
 ClassgetJavaClass()
     Returns the Java class representing this type.
 intgetLine()
    
 intgetType()
     Returns the javascript type of the expression.
 ExprgetTypeExpr()
    
 booleanisNum()
    
 booleanisNumeric()
     True if the type of this expression is easily converted to a number.
 booleanisSimple()
    
 voidkillValue()
    
 Exprnext(String iter, Expr lhs)
    
 Exprpostfix(int op)
    
 Exprprefix(int op)
    
 voidprint()
    
 voidprintBoolean()
    
 voidprintBooleanImpl()
    
 voidprintExpr()
    
 voidprintImpl()
    
 voidprintInt32()
    
 voidprintInt32Impl()
    
 voidprintInt64()
    
 voidprintInt64Impl()
    
 voidprintJava()
     Prints the expression as a java object.
 voidprintJavaClass(Class type)
    
 voidprintJavaImpl()
    
 voidprintJavaString()
    
 voidprintLiteral(ESBase literal)
    
 voidprintNum()
    
 voidprintNumImpl()
    
 voidprintStr()
    
 voidprintString()
     Print where the result is a string.
 voidprintStringImpl()
    
 ExprsetBoolean()
     This expression will be used in a boolean context.
 voidsetTop()
    
 voidsetUsed()
    
 CallExprstartCall()
    
 CallExprstartNew()
    
 Exprtypeof()
    
 ExprunaryOp(int op)
    

Field Detail
TYPE_BOOLEAN
final protected static int TYPE_BOOLEAN(Code)



TYPE_ES
final protected static int TYPE_ES(Code)



TYPE_INTEGER
final protected static int TYPE_INTEGER(Code)



TYPE_JAVA
final protected static int TYPE_JAVA(Code)



TYPE_LONG
final protected static int TYPE_LONG(Code)



TYPE_NUMBER
final protected static int TYPE_NUMBER(Code)



TYPE_STRING
final protected static int TYPE_STRING(Code)



TYPE_UNKNOWN
final protected static int TYPE_UNKNOWN(Code)



TYPE_VOID
final protected static int TYPE_VOID(Code)



block
protected Block block(Code)



cl
protected ParseClass cl(Code)



function
protected Function function(Code)



isTop
protected boolean isTop(Code)



javaType
protected Class javaType(Code)



noValue
protected boolean noValue(Code)



type
protected int type(Code)



withDepth
protected int withDepth(Code)




Constructor Detail
Expr
Expr(Block block)(Code)




Method Detail
assign
Expr assign(Expr value) throws ESException(Code)
The assignment operator



binaryOp
Expr binaryOp(int lex, int op, Expr rexpr) throws ESException(Code)
A binary op



cast
Expr cast(Expr castType) throws ESException(Code)



conditional
Expr conditional(Expr mexpr, Expr rexpr)(Code)
The conditional ? : operation



delete
Expr delete() throws ESException(Code)
The delete operator



doVoid
Expr doVoid()(Code)
A unary op



exprStatement
void exprStatement(Function fun) throws ESException(Code)



fieldReference
Expr fieldReference(Expr expr)(Code)
Gets the field of the current expr



fieldReference
Expr fieldReference(ESId id) throws ESException(Code)
Gets the field of the current expr



getFilename
String getFilename()(Code)



getJavaClass
Class getJavaClass()(Code)
Returns the Java class representing this type.



getLine
int getLine()(Code)



getType
int getType()(Code)
Returns the javascript type of the expression.



getTypeExpr
Expr getTypeExpr()(Code)



isNum
boolean isNum()(Code)



isNumeric
boolean isNumeric()(Code)
True if the type of this expression is easily converted to a number.



isSimple
boolean isSimple()(Code)



killValue
void killValue()(Code)



next
Expr next(String iter, Expr lhs) throws ESException(Code)



postfix
Expr postfix(int op)(Code)
Handle autoincrement



prefix
Expr prefix(int op) throws ESException(Code)
Handle autoincrement



print
void print() throws IOException(Code)



printBoolean
void printBoolean() throws IOException(Code)



printBooleanImpl
void printBooleanImpl() throws IOException(Code)



printExpr
void printExpr() throws IOException(Code)



printImpl
void printImpl() throws IOException(Code)



printInt32
void printInt32() throws IOException(Code)



printInt32Impl
void printInt32Impl() throws IOException(Code)



printInt64
void printInt64() throws IOException(Code)



printInt64Impl
void printInt64Impl() throws IOException(Code)



printJava
void printJava() throws IOException(Code)
Prints the expression as a java object.



printJavaClass
void printJavaClass(Class type) throws IOException(Code)



printJavaImpl
void printJavaImpl() throws IOException(Code)



printJavaString
void printJavaString() throws IOException(Code)



printLiteral
void printLiteral(ESBase literal) throws IOException(Code)



printNum
void printNum() throws IOException(Code)



printNumImpl
void printNumImpl() throws IOException(Code)



printStr
void printStr() throws IOException(Code)
Prints a string value



printString
void printString() throws IOException(Code)
Print where the result is a string.



printStringImpl
void printStringImpl() throws IOException(Code)



setBoolean
Expr setBoolean()(Code)
This expression will be used in a boolean context.



setTop
void setTop()(Code)



setUsed
void setUsed()(Code)



startCall
CallExpr startCall() throws ESException(Code)



startNew
CallExpr startNew() throws ESException(Code)



typeof
Expr typeof()(Code)
The typeof operator



unaryOp
Expr unaryOp(int op)(Code)
A unary op



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.