| 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.
|
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) | | |
isTop | protected boolean isTop(Code) | | |
noValue | protected boolean noValue(Code) | | |
withDepth | protected int withDepth(Code) | | |
fieldReference | Expr fieldReference(Expr expr)(Code) | | Gets the field of the current expr
|
getJavaClass | Class getJavaClass()(Code) | | Returns the Java class representing this type.
|
getType | int getType()(Code) | | Returns the javascript type of the expression.
|
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) | | |
postfix | Expr postfix(int op)(Code) | | Handle autoincrement
|
printJava | void printJava() throws IOException(Code) | | Prints the expression as a java object.
|
printString | void printString() throws IOException(Code) | | Print where the result is a string.
|
setBoolean | Expr setBoolean()(Code) | | This expression will be used in a boolean context.
|
|
|