|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.caucho.es.parser.Expr | +--com.caucho.es.parser.UnaryExpr
Expr is an intermediate form representing an expression.
| Field Summary | |
(package private) int |
op
|
(package private) Expr |
term
|
| Fields inherited from class com.caucho.es.parser.Expr |
block, cl, filename, function, isTop, javaType, line, noValue, type, TYPE_BOOLEAN, TYPE_ES, TYPE_INTEGER, TYPE_JAVA, TYPE_LONG, TYPE_NUMBER, TYPE_STRING, TYPE_UNKNOWN, TYPE_VOID, withDepth |
| Constructor Summary | |
(package private) |
UnaryExpr(Block block,
Expr term,
int op)
|
| Method Summary | |
(package private) void |
exprStatement(Function fun)
|
(package private) int |
getType()
Returns the javascript type of the expression. |
(package private) void |
printBooleanImpl()
|
(package private) void |
printImpl()
|
(package private) void |
printInt32Impl()
|
(package private) void |
printNumImpl()
|
| Methods inherited from class com.caucho.es.parser.Expr |
assign, binaryOp, cast, conditional, delete, doVoid, error, fieldReference, fieldReference, getFilename, getJavaClass, getLine, getTypeExpr, isNum, isNumeric, isSimple, killValue, next, postfix, prefix, print, printBoolean, printExpr, printInt32, printInt64, printInt64Impl, printJava, printJavaClass, printJavaImpl, printJavaString, printLiteral, printNum, printStr, printString, printStringImpl, setBoolean, setTop, setUsed, startCall, startNew, typeof, unaryOp |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
Expr term
int op
| Constructor Detail |
UnaryExpr(Block block, Expr term, int op)
| Method Detail |
void exprStatement(Function fun) throws ESException
exprStatement in class Exprint getType()
ExprgetType in class Exprvoid printBooleanImpl() throws java.io.IOException
printBooleanImpl in class Exprvoid printInt32Impl() throws java.io.IOException
printInt32Impl in class Exprvoid printNumImpl() throws java.io.IOException
printNumImpl in class Exprvoid printImpl() throws java.io.IOException
printImpl in class Expr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||