public class Const extends Expr
Const class.
| 限定符和类型 | 字段和说明 |
|---|---|
static Const |
FALSE
Constant
FALSE |
static Const |
NULL
Constant
NULL |
static Const |
TRUE
Constant
TRUE |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
eval(Scope scope)
eval.
|
Boolean |
getBoolean()
getBoolean.
|
Double |
getDouble()
getDouble.
|
Float |
getFloat()
getFloat.
|
Integer |
getInt()
getInt.
|
Long |
getLong()
getLong.
|
Number |
getNumber()
getNumber.
|
String |
getStr()
getStr.
|
Object |
getValue()
Getter for the field
value. |
boolean |
isBoolean()
isBoolean.
|
boolean |
isDouble()
isDouble.
|
boolean |
isFalse()
isFalse.
|
boolean |
isFloat()
isFloat.
|
boolean |
isInt()
isInt.
|
boolean |
isLong()
isLong.
|
boolean |
isNull()
isNull.
|
boolean |
isNumber()
isNumber.
|
boolean |
isStr()
isStr.
|
boolean |
isTrue()
isTrue.
|
String |
toString()
toString.
|
public static final Const TRUE
TRUEpublic static final Const FALSE
FALSEpublic static final Const NULL
NULLpublic boolean isStr()
isStr.
public boolean isTrue()
isTrue.
public boolean isFalse()
isFalse.
public boolean isBoolean()
isBoolean.
public boolean isNull()
isNull.
public boolean isInt()
isInt.
public boolean isLong()
isLong.
public boolean isFloat()
isFloat.
public boolean isDouble()
isDouble.
public boolean isNumber()
isNumber.
Copyright © 2023. All rights reserved.