public abstract static class Compiler.HostExpr extends java.lang.Object implements Compiler.Expr, Compiler.MaybePrimitiveExpr
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Compiler.HostExpr.Parser |
Modifier and Type | Field and Description |
---|---|
(package private) static Type |
BOOLEAN_TYPE |
(package private) static Method |
booleanValueMethod |
(package private) static Type |
BYTE_TYPE |
(package private) static Method |
byteValueMethod |
(package private) static Method |
byteValueOfMethod |
(package private) static Type |
CHAR_TYPE |
(package private) static Method |
charValueMethod |
(package private) static Method |
charValueOfMethod |
(package private) static Type |
DOUBLE_TYPE |
(package private) static Method |
doubleValueMethod |
(package private) static Method |
doubleValueOfMethod |
(package private) static Type |
FLOAT_TYPE |
(package private) static Method |
floatValueMethod |
(package private) static Method |
floatValueOfMethod |
(package private) static Method |
fromDoubleMethod |
(package private) static Method |
fromIntMethod |
(package private) static Method |
fromLongMethod |
(package private) static Type |
INTEGER_TYPE |
(package private) static Method |
intValueMethod |
(package private) static Method |
intValueOfMethod |
(package private) static Type |
LONG_TYPE |
(package private) static Method |
longValueMethod |
(package private) static Method |
longValueOfMethod |
(package private) static Type |
NUMBER_TYPE |
(package private) static Type |
SHORT_TYPE |
(package private) static Method |
shortValueMethod |
(package private) static Method |
shortValueOfMethod |
Constructor and Description |
---|
Compiler.HostExpr() |
Modifier and Type | Method and Description |
---|---|
static void |
emitBoxReturn(Compiler.ObjExpr objx,
GeneratorAdapter gen,
java.lang.Class returnType) |
static void |
emitUnboxArg(Compiler.ObjExpr objx,
GeneratorAdapter gen,
java.lang.Class paramType) |
private static java.lang.Class |
maybeClass(java.lang.Object form,
boolean stringOk) |
(package private) static java.lang.Class |
tagToClass(java.lang.Object tag) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canEmitPrimitive, emitUnboxed
emit, eval, getJavaClass, hasJavaClass
static final Type BOOLEAN_TYPE
static final Type CHAR_TYPE
static final Type INTEGER_TYPE
static final Type LONG_TYPE
static final Type FLOAT_TYPE
static final Type DOUBLE_TYPE
static final Type SHORT_TYPE
static final Type BYTE_TYPE
static final Type NUMBER_TYPE
static final Method charValueMethod
static final Method booleanValueMethod
static final Method charValueOfMethod
static final Method intValueOfMethod
static final Method longValueOfMethod
static final Method floatValueOfMethod
static final Method doubleValueOfMethod
static final Method shortValueOfMethod
static final Method byteValueOfMethod
static final Method intValueMethod
static final Method longValueMethod
static final Method floatValueMethod
static final Method doubleValueMethod
static final Method byteValueMethod
static final Method shortValueMethod
static final Method fromIntMethod
static final Method fromLongMethod
static final Method fromDoubleMethod
public static void emitBoxReturn(Compiler.ObjExpr objx, GeneratorAdapter gen, java.lang.Class returnType)
public static void emitUnboxArg(Compiler.ObjExpr objx, GeneratorAdapter gen, java.lang.Class paramType)
private static java.lang.Class maybeClass(java.lang.Object form, boolean stringOk)
static java.lang.Class tagToClass(java.lang.Object tag)