类的使用
org.springframework.expression.spel.ast.SpelNodeImpl
使用SpelNodeImpl的程序包 程序包 说明 org.springframework.expression.spel.ast SpEL's abstract syntax tree.org.springframework.expression.spel.standard SpEL's standard parser implementation.org.springframework.expression.spel.ast中SpelNodeImpl的使用
org.springframework.expression.spel.ast中SpelNodeImpl的子类 修饰符和类型 类 说明 classAssignRepresents assignment.classBeanReferenceRepresents a bean reference to a type, for example @foo or @'foo.bar'.classBooleanLiteralRepresents the literal valuesTRUEandFALSE.classCompoundExpressionRepresents a DOT separated expression sequence, such as'property1.property2.methodOne()'.classConstructorReferenceRepresents the invocation of a constructor.classElvisRepresents the elvis operator ?classFloatLiteralExpression language AST node that represents a float literal.classFunctionReferenceA function reference is of the form "#someFunction(a,b,c)".classIdentifierAn 'identifier'SpelNode.classIndexerAn Indexer can index into some proceeding structure to access a particular piece of it.classInlineListRepresent a list in an expression, e.g. '{1,2,3}'classInlineMapRepresent a map in an expression, e.g.classIntLiteralExpression language AST node that represents an integer literal.classLiteralCommon superclass for nodes representing literals (boolean, string, number, etc).classLongLiteralExpression language AST node that represents a long integer literal.classMethodReferenceExpression language AST node that represents a method reference.classNullLiteralExpression language AST node that represents null.classOpAndRepresents the boolean AND operation.classOpDecDecrement operator.classOpDivideImplements division operator.classOpEQImplements the equality operator.classOperatorCommon supertype for operators that operate on either one or two operands.classOperatorBetweenRepresents the between operator.classOperatorInstanceofThe operator 'instanceof' checks if an object is of the class specified in the right hand operand, in the same way thatinstanceofdoes in Java.classOperatorMatchesImplements the matches operator.classOperatorNotRepresents a NOT operation.classOperatorPowerThe power operator.classOpGEImplements greater-than-or-equal operator.classOpGTImplements the greater-than operator.classOpIncIncrement operator.classOpLEImplements the less-than-or-equal operator.classOpLTImplements the less-than operator.classOpMinusThe minus operator supports: subtraction of numbers subtraction of an int from a string of one character (effectively decreasing that character), so 'd'-3='a'classOpModulusImplements the modulus operator.classOpMultiplyImplements themultiplyoperator.classOpNEImplements the not-equal operator.classOpOrRepresents the boolean OR operation.classOpPlusThe plus operator will: add numbers concatenate stringsclassProjectionRepresents projection, where a given operation is performed on all elements in some input sequence, returning a new sequence of the same size.classPropertyOrFieldReferenceRepresents a simple property or field reference.classQualifiedIdentifierRepresents a dot separated sequence of strings that indicate a package qualified type reference.classRealLiteralExpression language AST node that represents a real literal.classSelectionRepresents selection over a map or collection.classStringLiteralExpression language AST node that represents a string literal.classTernaryRepresents a ternary expression, for example: "someCheck()?classTypeReferenceRepresents a reference to a type, for example"T(String)" or "T(com.somewhere.Foo)".classVariableReferenceRepresents a variable reference, eg.声明为SpelNodeImpl的org.springframework.expression.spel.ast中的字段 修饰符和类型 字段 说明 protected SpelNodeImpl[]SpelNodeImpl. children返回SpelNodeImpl的org.springframework.expression.spel.ast中的方法 修饰符和类型 方法 说明 SpelNodeImplOperator. getLeftOperand()SpelNodeImplOpDec. getRightOperand()SpelNodeImplOperator. getRightOperand()SpelNodeImplOpInc. getRightOperand()SpelNodeImplOpMinus. getRightOperand()SpelNodeImplOpPlus. getRightOperand()参数类型为SpelNodeImpl的org.springframework.expression.spel.ast中的方法 修饰符和类型 方法 说明 protected static voidSpelNodeImpl. generateCodeForArgument(MethodVisitor mv, CodeFlow cf, SpelNodeImpl argument, String paramDesc)Ask an argument to generate its bytecode and then follow it up with any boxing/unboxing/checkcasting to ensure it matches the expected parameter descriptor.protected static voidSpelNodeImpl. generateCodeForArguments(MethodVisitor mv, CodeFlow cf, Member member, SpelNodeImpl[] arguments)Generate code that handles building the argument values for the specified method.参数类型为SpelNodeImpl的org.springframework.expression.spel.ast中的构造器 构造器 说明 Assign(int startPos, int endPos, SpelNodeImpl... operands)CompoundExpression(int startPos, int endPos, SpelNodeImpl... expressionComponents)ConstructorReference(int startPos, int endPos, SpelNodeImpl... arguments)Create a constructor reference.ConstructorReference(int startPos, int endPos, SpelNodeImpl[] dimensions, SpelNodeImpl... arguments)Create a constructor reference.Elvis(int startPos, int endPos, SpelNodeImpl... args)FunctionReference(String functionName, int startPos, int endPos, SpelNodeImpl... arguments)Indexer(int startPos, int endPos, SpelNodeImpl expr)InlineList(int startPos, int endPos, SpelNodeImpl... args)InlineMap(int startPos, int endPos, SpelNodeImpl... args)MethodReference(boolean nullSafe, String methodName, int startPos, int endPos, SpelNodeImpl... arguments)OpAnd(int startPos, int endPos, SpelNodeImpl... operands)OpDec(int startPos, int endPos, boolean postfix, SpelNodeImpl... operands)OpDivide(int startPos, int endPos, SpelNodeImpl... operands)OpEQ(int startPos, int endPos, SpelNodeImpl... operands)Operator(String payload, int startPos, int endPos, SpelNodeImpl... operands)OperatorBetween(int startPos, int endPos, SpelNodeImpl... operands)OperatorInstanceof(int startPos, int endPos, SpelNodeImpl... operands)OperatorMatches(int startPos, int endPos, SpelNodeImpl... operands)OperatorNot(int startPos, int endPos, SpelNodeImpl operand)OperatorPower(int startPos, int endPos, SpelNodeImpl... operands)OpGE(int startPos, int endPos, SpelNodeImpl... operands)OpGT(int startPos, int endPos, SpelNodeImpl... operands)OpInc(int startPos, int endPos, boolean postfix, SpelNodeImpl... operands)OpLE(int startPos, int endPos, SpelNodeImpl... operands)OpLT(int startPos, int endPos, SpelNodeImpl... operands)OpMinus(int startPos, int endPos, SpelNodeImpl... operands)OpModulus(int startPos, int endPos, SpelNodeImpl... operands)OpMultiply(int startPos, int endPos, SpelNodeImpl... operands)OpNE(int startPos, int endPos, SpelNodeImpl... operands)OpOr(int startPos, int endPos, SpelNodeImpl... operands)OpPlus(int startPos, int endPos, SpelNodeImpl... operands)Projection(boolean nullSafe, int startPos, int endPos, SpelNodeImpl expression)QualifiedIdentifier(int startPos, int endPos, SpelNodeImpl... operands)Selection(boolean nullSafe, int variant, int startPos, int endPos, SpelNodeImpl expression)SpelNodeImpl(int startPos, int endPos, SpelNodeImpl... operands)Ternary(int startPos, int endPos, SpelNodeImpl... args)TypedValueHolderValueRef(TypedValue typedValue, SpelNodeImpl node)TypeReference(int startPos, int endPos, SpelNodeImpl qualifiedId)TypeReference(int startPos, int endPos, SpelNodeImpl qualifiedId, int dims)org.springframework.expression.spel.standard中SpelNodeImpl的使用
参数类型为SpelNodeImpl的org.springframework.expression.spel.standard中的方法 修饰符和类型 方法 说明 CompiledExpressionSpelCompiler. compile(SpelNodeImpl expression)Attempt compilation of the supplied expression.参数类型为SpelNodeImpl的org.springframework.expression.spel.standard中的构造器 构造器 说明 SpelExpression(String expression, SpelNodeImpl ast, SpelParserConfiguration configuration)Construct an expression, only used by the parser.