com.caucho.es.parser
Class BooleanExpr

java.lang.Object
|
+--com.caucho.es.parser.Expr
|
+--com.caucho.es.parser.BooleanExpr

class BooleanExpr
extends Expr

Expr is an intermediate form representing an expression.


Field Summary
(package private)  Expr child
           
 
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) BooleanExpr(Block block, Expr child)
           
 
Method Summary
(package private)  int getType()
          Returns the javascript type of the expression.
(package private)  void print()
           
 
Methods inherited from class com.caucho.es.parser.Expr
assign, binaryOp, cast, conditional, delete, doVoid, error, exprStatement, fieldReference, fieldReference, getFilename, getJavaClass, getLine, getTypeExpr, isNum, isNumeric, isSimple, killValue, next, postfix, prefix, printBoolean, printBooleanImpl, printExpr, printImpl, printInt32, printInt32Impl, printInt64, printInt64Impl, printJava, printJavaClass, printJavaImpl, printJavaString, printLiteral, printNum, printNumImpl, 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
 

Field Detail

child

Expr child
Constructor Detail

BooleanExpr

BooleanExpr(Block block,
Expr child)
Method Detail

getType

int getType()
Description copied from class: Expr
Returns the javascript type of the expression.
Overrides:
getType in class Expr

print

void print()
throws java.io.IOException
Overrides:
print in class Expr