com.caucho.es.parser
Class PostfixExpr
java.lang.Object
|
+--com.caucho.es.parser.Expr
|
+--com.caucho.es.parser.PostfixExpr
- class PostfixExpr
- extends Expr
Expr is an intermediate form representing an expression.
| 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 |
| 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, printBooleanImpl, 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 |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
PREINC
static final int PREINC
PREDEC
static final int PREDEC
POSTINC
static final int POSTINC
POSTDEC
static final int POSTDEC
code
private int code
field
private FieldExpr field
id
private IdExpr id
cheat
private AssignExpr cheat
PostfixExpr
PostfixExpr(Block block,
int code,
FieldExpr field)
PostfixExpr
PostfixExpr(Block block,
int code,
IdExpr id)
getType
int getType()
- Description copied from class:
Expr
- Returns the javascript type of the expression.
- Overrides:
getType in class Expr
exprStatement
void exprStatement(Function fun)
throws ESException
- Overrides:
exprStatement in class Expr
printInt32Impl
void printInt32Impl()
throws java.io.IOException
- Overrides:
printInt32Impl in class Expr
printNumImpl
void printNumImpl()
throws java.io.IOException
- Overrides:
printNumImpl in class Expr
printImpl
void printImpl()
throws java.io.IOException
- Overrides:
printImpl in class Expr