Uses of Class
org.apache.commons.jexl3.parser.JexlNode
Packages that use JexlNode
Package
Description
Provides a framework for evaluating JEXL expressions.
Provides utilities for introspection services.
Contains the Parser for JEXL script.
-
Uses of JexlNode in org.apache.commons.jexl3
Fields in org.apache.commons.jexl3 declared as JexlNodeModifier and TypeFieldDescriptionprivate final JexlNodeJexlException.markThe point of origin for this exception.Methods in org.apache.commons.jexl3 with parameters of type JexlNodeModifier and TypeMethodDescriptionstatic StringJexlException.annotationError(JexlNode node, String annotation) Generates a message for an annotation error.(package private) static JexlInfoJexlException.detailedInfo(JexlNode node, JexlInfo info) Gets the most specific information attached to a node.(package private) static StringBuilderCreates a string builder pre-filled with common error information (if possible).static JexlInfoDeprecated.3.2static StringJexlException.methodError(JexlNode node, String method) Deprecated.3.2static StringJexlException.methodError(JexlNode node, String method, Object[] args) Generates a message for a unsolvable method error.static StringJexlException.operatorError(JexlNode node, String symbol) Generates a message for an operator error.static StringJexlException.propertyError(JexlNode node, String var) Deprecated.3.2static StringJexlException.propertyError(JexlNode node, String pty, boolean undef) Generates a message for an unsolvable property error.static StringJexlException.variableError(JexlNode node, String variable, boolean undef) Deprecated.3.2static StringJexlException.variableError(JexlNode node, String variable, JexlException.VariableIssue issue) Generates a message for a variable error.Constructors in org.apache.commons.jexl3 with parameters of type JexlNodeModifierConstructorDescriptionAnnotation(JexlNode node, String name, Throwable cause) Creates a new Annotation exception instance.Creates a new instance of Break.Creates a new instance of Cancel.Creates a new instance of Continue.JexlException(JexlNode node, String msg) Creates a new JexlException.JexlException(JexlNode node, String msg, Throwable cause) Creates a new JexlException.protectedJexlException(JexlNode node, String msg, Throwable cause, boolean trace) Creates a new JexlException.Deprecated.as of 3.2, use call with method argumentsCreates a new Method exception instance.Creates a new Operator exception instance.Deprecated.3.2Creates a new Property exception instance.Deprecated.3.2Creates a new instance of Return.Creates a new instance of Throw.Creates a new Variable exception instance.Variable(JexlNode node, String var, JexlException.VariableIssue vi) Creates a new Variable exception instance. -
Uses of JexlNode in org.apache.commons.jexl3.internal
Fields in org.apache.commons.jexl3.internal declared as JexlNodeModifier and TypeFieldDescriptionprotected JexlNodeDebugger.causeThe cause of the issue to debug.(package private) final JexlNodeInterpreterBase.CallDispatcher.nodeThe syntactic node.protected final JexlNodeTemplateEngine.JexlBasedExpression.nodeThe JEXL node for this unified expression.private JexlNodeEngine.VarCollector.rootThe node that started the collect.Methods in org.apache.commons.jexl3.internal that return JexlNodeModifier and TypeMethodDescriptionprotected JexlNodeInterpreterBase.findNullOperand(RuntimeException xrt, JexlNode node, Object left, Object right) Deprecated.protected JexlNodeInterpreterBase.findNullOperand(JexlNode node, Object left, Object right) Finds the node causing a NPE for diadic operators.Methods in org.apache.commons.jexl3.internal with parameters of type JexlNodeModifier and TypeMethodDescriptionprotected ObjectChecks if a child node is the cause to debug & adds its representation to the rebuilt expression.protected ObjectDebugger.acceptStatement(JexlNode child, Object data) Adds a statement node to the rebuilt expression.protected ObjectTemplateDebugger.acceptStatement(JexlNode child, Object data) protected ObjectDebugger.additiveNode(JexlNode node, String op, Object data) Rebuilds an additive expression.protected ObjectInterpreterBase.annotationError(JexlNode node, String annotation, Throwable cause) Triggered when an annotation processing fails.protected ObjectInterpreter.call(JexlNode node, Object target, Object funcNode, ASTArguments argNode) Calls a method (or function).protected voidInterpreterBase.cancelCheck(JexlNode node) Throws a JexlException.Cancel if script execution was cancelled.protected ObjectChecks if a terminal node is the cause to debug & adds its representation to the rebuilt expression.voidStarts/stops a variable collect.private static voidTemplateScript.collectPrintScope(JexlNode node, Map<Integer, JexlNode.Info> minfo) Collects the scope surrounding a call to jexl:print(i).protected ObjectInterpreterBase.constVariable(JexlNode node, String var) Triggered when a captured variable is const and assignment is attempted.protected booleanThe 'match'/'in' operator implementation.Rebuilds an expression from a JEXL node.booleanSeeks the location of an error cause (a node) in an expression.booleanSeeks the location of an error cause (a node) in an expression.protected ObjectCheck for emptyness of various types: Collection, Array, Map, String, and anything that has a boolean isEmpty() method.protected booleanThe 'endsWith' operator implementation.private ObjectInterpreter.evalCatch(ASTReference catchVar, JexlNode catchBody, JexlException caught, Object data) Evaluate the catch in a try/catch/finally.protected ObjectInterpreter.executeAssign(JexlNode node, JexlOperator assignop, Object data) Executes an assignment with an optional side effect operator.protected JexlNodeInterpreterBase.findNullOperand(RuntimeException xrt, JexlNode node, Object left, Object right) Deprecated.protected JexlNodeInterpreterBase.findNullOperand(JexlNode node, Object left, Object right) Finds the node causing a NPE for diadic operators.protected ObjectInterpreterBase.getAttribute(Object object, Object attribute, JexlNode node) Gets an attribute of an object.protected JexlFeaturesDebugger.getFeatures(JexlNode node) Tries (hard) to find the features used to parse a node.TemplateDebugger.getPrintStatement(JexlNode child) In a template, any statement that is not 'jexl:print(n)' must be prefixed by "$$".protected voidEngine.getVariables(ASTJexlScript script, JexlNode node, Engine.VarCollector collector) Fills up the list of variables accessed by a node.protected ObjectDebugger.infixChildren(JexlNode node, String infix, boolean paren, Object data) Checks if the children of a node using infix notation is the cause to debug, adds their representation to the rebuilt expression.Interpret the given script/expression.protected JexlExceptionInterpreterBase.invocationException(JexlNode node, String methodName, Throwable xany) Triggered when method, function or constructor invocation fails with an exception.private static booleanDebugger.isStatement(JexlNode child) Whether a node is a statement (vs an expression).protected booleanInterpreterBase.isStrictOperand(JexlNode node) (package private) static booleanEngine32.isTernaryProtected(Interpreter ii, JexlNode startNode) Static delegation of isTernaryProtected.protected booleanInterpreterBase.isTernaryProtected(JexlNode startNode) Check if a null evaluated expression is protected by a ternary expression.protected ObjectInterpreterBase.operatorError(JexlNode node, JexlOperator operator, Throwable cause) Triggered when an operator fails.protected ObjectDebugger.postfixChild(JexlNode node, String prefix, Object data) Postfix operators.protected ObjectDebugger.prefixChild(JexlNode node, String prefix, Object data) Checks if the child of a node using prefix notation is the cause to debug, adds their representation to the rebuilt expression.protected ObjectInterpreterBase.redefinedVariable(JexlNode node, String var) Triggered when a variable is lexically known as being redefined.protected ObjectInterpreterBase.resolveNamespace(String prefix, JexlNode node) Resolves a namespace, eventually allocating an instance using context as constructor argument.protected ObjectTemplateInterpreter.resolveNamespace(String prefix, JexlNode node) protected voidDebugger.setArrowSymbol(JexlNode node) Sets the arrow style (fat or thin) depending on features.protected voidInterpreterBase.setAttribute(Object object, Object attribute, Object value, JexlNode node) Sets an attribute of an object.protected voidInterpreterBase.setContextVariable(JexlNode node, String name, Object value) Sets a variable in the global context.protected ObjectCalculate thesizeof various types: Collection, Array, Map, String, and anything that has a int size() method.protected booleanOperators.startsWith(JexlNode node, String operator, Object left, Object right) The 'startsWith' operator implementation.protected StringInterpreterBase.stringifyProperty(JexlNode node) Pretty-prints a failing property (de)reference.protected static StringInterpreterBase.stringifyPropertyValue(JexlNode node) Pretty-prints a failing property value (de)reference.private booleanInterpreter.testPredicate(JexlNode node, Object condition) protected ObjectOperators.tryAssignOverload(JexlNode node, JexlOperator operator, Consumer<Object> assignFun, Object... args) Evaluates an assign operator.protected ObjectOperators.tryOverload(JexlNode node, JexlOperator operator, Object... args) Attempts to call an operator.protected ObjectInterpreterBase.undefinedVariable(JexlNode node, String var) Triggered when a variable is lexically known as undefined.protected ObjectInterpreterBase.unsolvableMethod(JexlNode node, String method) Triggered when a method can not be resolved.protected ObjectInterpreterBase.unsolvableMethod(JexlNode node, String method, Object[] args) Triggered when a method can not be resolved.protected ObjectInterpreterBase.unsolvableProperty(JexlNode node, String property, boolean undef, Throwable cause) Triggered when a property can not be resolved.protected ObjectInterpreterBase.unsolvableVariable(JexlNode node, String var, boolean undef) Triggered when a variable can not be resolved.protected ObjectInterpreterBase.variableError(JexlNode node, String var, JexlException.VariableIssue issue) Triggered when a variable generates an issue.protected ObjectInterpreter.visitLexicalNode(JexlNode node, Object data) Runs a node.protected ObjectVisits a node.Constructors in org.apache.commons.jexl3.internal with parameters of type JexlNodeModifierConstructorDescription(package private)CallDispatcher(JexlNode anode, boolean acacheable) Dispatcher ctor.(package private)DeferredExpression(CharSequence expr, JexlNode node, TemplateEngine.TemplateExpression source) Creates a deferred unified expression.(package private)ImmediateExpression(CharSequence expr, JexlNode node, TemplateEngine.TemplateExpression source) Creates an immediate unified expression.protectedJexlBasedExpression(CharSequence theExpr, JexlNode theNode, TemplateEngine.TemplateExpression theSource) Creates a JEXL interpretable unified expression.(package private)NestedExpression(CharSequence expr, JexlNode node, TemplateEngine.TemplateExpression source) Creates a nested unified expression. -
Uses of JexlNode in org.apache.commons.jexl3.parser
Subclasses of JexlNode in org.apache.commons.jexl3.parserModifier and TypeClassDescriptionclassfinal classclassclassclassAnnotation.classclassArray access supporting (optional) safe notation.final classAn array literal.classclassclassclassclassclassDeclares a block.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassDeclares a for each loop.classclassclassclassclassclassIdentifiers, variables, ie symbols.classIdentifiers, variables and registers.classx.`expr`.classx?.identifier .classx?.`expr` .classclassclassfinal classLambda (function).classEnhanced script to allow parameters declaration.final classclassclassclassfinal classclassclassclassclassNamespace : identifier.classclassclassclassclassclassclassclassclassfinal classclassclassIdentifiers, variables, ie symbols.classclassfinal classfinal classclassclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclassclassfinal classclassclassclassclassclassclassDeclares a try-with-resources scope.classDeclares a try/catch/finally statement.classclassclassDeclares a local variable.classclassBase node for array/set/map literals.classBase class for AST nodes behaving as lexical units.Fields in org.apache.commons.jexl3.parser declared as JexlNodeModifier and TypeFieldDescriptionprivate JexlNode[]SimpleNode.childrenThe array of children nodes.(package private) JexlNodeJexlNode.Info.nodeprivate JexlNodeSimpleNode.parentThe parent node.Fields in org.apache.commons.jexl3.parser with type parameters of type JexlNodeModifier and TypeFieldDescriptionJexlParser.ASSIGN_NODESThe set of assignment operators as classes.Methods in org.apache.commons.jexl3.parser that return JexlNodeModifier and TypeMethodDescriptionJexlNode.Info.getNode()SimpleNode.jjtGetChild(int i) Gets a child of this node.SimpleNode.jjtGetParent()Gets this node's parent.Methods in org.apache.commons.jexl3.parser with parameters of type JexlNodeModifier and TypeMethodDescriptionvoidFeatureController.controlNode(JexlNode node) Perform the control on a node.private ObjectFeatureController.controlSideEffect(JexlNode node, Object data) private booleanFeatureController.isArrayReferenceLiteral(JexlNode child) Checks whether a node is a string or an integer.(package private) booleanOperatorController.isStrict(JexlArithmetic arithmetic, JexlNode node) Checks whether an operator is strict for a given arithmetic.protected voidJexlParser.jjtreeCloseNodeScope(JexlNode node) Called by parser at end of node construction.protected voidJexlParser.jjtreeOpenNodeScope(JexlNode node) Called by parser at beginning of node construction.(package private) voidSimpleNode.jjtSetChildren(JexlNode[] jexlNodes) protected voidJexlParser.throwAmbiguousException(JexlNode node) Throws Ambiguous exception.voidFeatureController.throwFeatureException(int feature, JexlNode node) Throws a feature exception.protected Objectprotected JexlOperatorConstructors in org.apache.commons.jexl3.parser with parameters of type JexlNode