com.caucho.es.parser
Class PackageExpr
java.lang.Object
|
+--com.caucho.es.parser.Expr
|
+--com.caucho.es.parser.PackageExpr
- class PackageExpr
- extends Expr
Expression representing a Java package, i.e. a partial class.
| 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, exprStatement, getFilename, getJavaClass, getLine, isNum, isNumeric, isSimple, killValue, next, postfix, prefix, print, printBoolean, printBooleanImpl, printExpr, printInt32, printInt32Impl, printInt64, printInt64Impl, printJava, printJavaClass, printJavaImpl, printJavaString, printLiteral, printNum, printNumImpl, printStr, printString, printStringImpl, setBoolean, setTop, setUsed, typeof, unaryOp |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
rawExpr
private Expr rawExpr
name
private java.lang.String name
PackageExpr
private PackageExpr(Block block,
Expr rawExpr,
java.lang.String name)
PackageExpr
PackageExpr(Block block)
create
static Expr create(Block block,
Expr rawExpr,
java.lang.String name)
setType
void setType(int type)
getType
int getType()
- Description copied from class:
Expr
- Returns the javascript type of the expression.
- Overrides:
getType in class Expr
getTypeExpr
Expr getTypeExpr()
- Overrides:
getTypeExpr in class Expr
fieldReference
Expr fieldReference(ESId id)
throws ESException
- Description copied from class:
Expr
- Gets the field of the current expr
- Overrides:
fieldReference in class Expr
fieldReference
Expr fieldReference(Expr expr)
- Description copied from class:
Expr
- Gets the field of the current expr
- Overrides:
fieldReference in class Expr
startCall
CallExpr startCall()
throws ESException
- Overrides:
startCall in class Expr
startNew
CallExpr startNew()
throws ESException
- Overrides:
startNew in class Expr
printImpl
void printImpl()
throws java.io.IOException
- Overrides:
printImpl in class Expr