类的使用
cn.taketoday.expression.spel.ast.Literal
使用Literal的程序包
-
cn.taketoday.expression.spel.ast中Literal的使用
修饰符和类型类说明classRepresents the literal valuesTRUEandFALSE.classExpression language AST node that represents a float literal.classExpression language AST node that represents an integer literal.classExpression language AST node that represents a long integer literal.classExpression language AST node that represents null.classExpression language AST node that represents a real literal.classExpression language AST node that represents a string literal.修饰符和类型方法说明static LiteralLiteral.getIntLiteral(String numberToken, int startPos, int endPos, int radix) Process the string form of a number, using the specified base if supplied and return an appropriate literal to hold it.static LiteralLiteral.getLongLiteral(String numberToken, int startPos, int endPos, int radix) static LiteralLiteral.getRealLiteral(String numberToken, int startPos, int endPos, boolean isFloat)