Uses of Class
org.apache.commons.jexl3.parser.JexlNode
-
Packages that use JexlNode Package Description org.apache.commons.jexl3 Provides a framework for evaluating JEXL expressions.org.apache.commons.jexl3.internal Provides utilities for introspection services.org.apache.commons.jexl3.parser Contains the Parser for JEXL script. -
-
Uses of JexlNode in org.apache.commons.jexl3
Fields in org.apache.commons.jexl3 declared as JexlNode Modifier and Type Field Description private JexlNodeJexlException. markThe point of origin for this exception.Methods in org.apache.commons.jexl3 with parameters of type JexlNode Modifier and Type Method Description static java.lang.StringJexlException. annotationError(JexlNode node, java.lang.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 java.lang.StringBuilderJexlException. errorAt(JexlNode node)Creates a string builder pre-filled with common error information (if possible).static JexlInfoJexlException. getInfo(JexlNode node, JexlInfo info)Deprecated.3.2static java.lang.StringJexlException. methodError(JexlNode node, java.lang.String method)Deprecated.3.2static java.lang.StringJexlException. methodError(JexlNode node, java.lang.String method, java.lang.Object[] args)Generates a message for a unsolvable method error.static java.lang.StringJexlException. operatorError(JexlNode node, java.lang.String symbol)Generates a message for an operator error.static java.lang.StringJexlException. propertyError(JexlNode node, java.lang.String var)Deprecated.3.2static java.lang.StringJexlException. propertyError(JexlNode node, java.lang.String pty, boolean undef)Generates a message for an unsolvable property error.static java.lang.StringJexlException. variableError(JexlNode node, java.lang.String variable, boolean undef)Deprecated.3.2static java.lang.StringJexlException. variableError(JexlNode node, java.lang.String variable, JexlException.VariableIssue issue)Generates a message for a variable error.Constructors in org.apache.commons.jexl3 with parameters of type JexlNode Constructor Description Annotation(JexlNode node, java.lang.String name, java.lang.Throwable cause)Creates a new Annotation exception instance.Break(JexlNode node)Creates a new instance of Break.Cancel(JexlNode node)Creates a new instance of Cancel.Continue(JexlNode node)Creates a new instance of Continue.JexlException(JexlNode node, java.lang.String msg)Creates a new JexlException.JexlException(JexlNode node, java.lang.String msg, java.lang.Throwable cause)Creates a new JexlException.JexlException(JexlNode node, java.lang.String msg, java.lang.Throwable cause, boolean trace)Creates a new JexlException.Method(JexlNode node, java.lang.String name)Deprecated.as of 3.2, use call with method argumentsMethod(JexlNode node, java.lang.String name, java.lang.Object[] args)Creates a new Method exception instance.Operator(JexlNode node, java.lang.String symbol, java.lang.Throwable cause)Creates a new Operator exception instance.Property(JexlNode node, java.lang.String pty)Deprecated.3.2Property(JexlNode node, java.lang.String pty, boolean undef, java.lang.Throwable cause)Creates a new Property exception instance.Property(JexlNode node, java.lang.String pty, java.lang.Throwable cause)Deprecated.3.2Return(JexlNode node, java.lang.String msg, java.lang.Object value)Creates a new instance of Return.Throw(JexlNode node, java.lang.Object value)Creates a new instance of Throw.Variable(JexlNode node, java.lang.String var, boolean undef)Creates a new Variable exception instance.Variable(JexlNode node, java.lang.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 JexlNode Modifier and Type Field Description protected JexlNodeDebugger. causeThe cause of the issue to debug.(package private) JexlNodeInterpreterBase.CallDispatcher. nodeThe syntactic node.protected 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 with type parameters of type JexlNode Modifier and Type Method Description private <NODE extends JexlNode & JexlNode.JxltHandle>
java.lang.ObjectInterpreter. evalJxltHandle(NODE node)Evaluates a JxltHandle node.Methods in org.apache.commons.jexl3.internal that return JexlNode Modifier and Type Method Description protected JexlNodeInterpreterBase. findNullOperand(java.lang.RuntimeException xrt, JexlNode node, java.lang.Object left, java.lang.Object right)Deprecated.protected JexlNodeInterpreterBase. findNullOperand(JexlNode node, java.lang.Object left, java.lang.Object right)Finds the node causing a NPE for diadic operators.Methods in org.apache.commons.jexl3.internal with parameters of type JexlNode Modifier and Type Method Description protected java.lang.ObjectDebugger. accept(JexlNode node, java.lang.Object data)Checks if a child node is the cause to debug & adds its representation to the rebuilt expression.private java.lang.ObjectDebugger. acceptBlock(JexlNode node, int begin, java.lang.Object data)protected java.lang.ObjectDebugger. acceptStatement(JexlNode child, java.lang.Object data)Adds a statement node to the rebuilt expression.protected java.lang.ObjectTemplateDebugger. acceptStatement(JexlNode child, java.lang.Object data)protected java.lang.ObjectDebugger. additiveNode(JexlNode node, java.lang.String op, java.lang.Object data)Rebuilds an additive expression.protected java.lang.ObjectInterpreterBase. annotationError(JexlNode node, java.lang.String annotation, java.lang.Throwable cause)Triggered when an annotation processing fails.protected java.lang.ObjectInterpreter. call(JexlNode node, java.lang.Object target, java.lang.Object funcNode, ASTArguments argNode)Calls a method (or function).protected voidInterpreterBase. cancelCheck(JexlNode node)Throws a JexlException.Cancel if script execution was cancelled.protected java.lang.ObjectDebugger. check(JexlNode node, java.lang.String image, java.lang.Object data)Checks if a terminal node is the cause to debug & adds its representation to the rebuilt expression.voidEngine.VarCollector. collect(JexlNode node)Starts/stops a variable collect.private static voidTemplateScript. collectPrintScope(JexlNode node, JexlNode.Info[] callSites)Collects the call-site surrounding a call to jexl:print(i).protected java.lang.ObjectInterpreterBase. constVariable(JexlNode node, java.lang.String variable)Triggered when a captured variable is const and assignment is attempted.java.lang.StringDebugger. data(JexlNode node)Rebuilds an expression from a JEXL node.booleanDebugger. debug(JexlNode node)Seeks the location of an error cause (a node) in an expression.booleanDebugger. debug(JexlNode node, boolean r)Seeks the location of an error cause (a node) in an expression.private java.lang.ObjectInterpreter. evalCatch(ASTReference catchVar, JexlNode catchBody, JexlException caught, java.lang.Object data)Evaluate the catch in a try/catch/finally.protected java.lang.ObjectInterpreter. executeAssign(JexlNode node, JexlOperator assignop, java.lang.Object data)Executes an assignment with an optional side effect operator.protected JexlNodeInterpreterBase. findNullOperand(java.lang.RuntimeException xrt, JexlNode node, java.lang.Object left, java.lang.Object right)Deprecated.protected JexlNodeInterpreterBase. findNullOperand(JexlNode node, java.lang.Object left, java.lang.Object right)Finds the node causing a NPE for diadic operators.protected java.lang.ObjectInterpreterBase. getAttribute(java.lang.Object object, java.lang.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.private TemplateEngine.TemplateExpressionTemplateDebugger. 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 java.lang.ObjectDebugger. infixChildren(JexlNode node, java.lang.String infix, boolean paren, java.lang.Object data)Checks if the children of a node using infix notation is the cause to debug, adds their representation to the rebuilt expression.java.lang.ObjectInterpreter. interpret(JexlNode node)Interpret the given script/expression.protected JexlExceptionInterpreterBase. invocationException(JexlNode node, java.lang.String methodName, java.lang.Throwable xany)Triggered when method, function or constructor invocation fails with an exception.private static booleanDebugger. isStatement(JexlNode child)Tests whether a node is a statement (vs an expression).protected booleanInterpreterBase. isStrictOperand(JexlNode node)(package private) static booleanEngine32. isTernaryProtected(Interpreter ii, JexlNode startNode)Deprecated.Static delegation of isTernaryProtected.protected booleanInterpreterBase. isTernaryProtected(JexlNode startNode)Check if a null evaluated expression is protected by a ternary expression.protected java.lang.ObjectInterpreterBase. operatorError(JexlNode node, JexlOperator operator, java.lang.Throwable cause)Triggered when an operator fails.protected java.lang.ObjectDebugger. postfixChild(JexlNode node, java.lang.String prefix, java.lang.Object data)Postfix operators.protected java.lang.ObjectDebugger. prefixChild(JexlNode node, java.lang.String prefix, java.lang.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 java.lang.ObjectInterpreterBase. redefinedVariable(JexlNode node, java.lang.String variable)Triggered when a variable is lexically known as being redefined.protected java.lang.ObjectInterpreterBase. resolveNamespace(java.lang.String prefix, JexlNode node)Resolves a namespace, eventually allocating an instance using context as constructor argument.protected java.lang.ObjectTemplateInterpreter. resolveNamespace(java.lang.String prefix, JexlNode node)protected voidDebugger. setArrowSymbol(JexlNode node)Sets the arrow style (fat or thin) depending on features.protected voidInterpreterBase. setAttribute(java.lang.Object object, java.lang.Object attribute, java.lang.Object value, JexlNode node)Sets an attribute of an object.protected voidInterpreterBase. setContextVariable(JexlNode node, java.lang.String name, java.lang.Object value)Sets a variable in the global context.private java.lang.ObjectInterpreter. shortCircuit(boolean check, JexlNode node, java.lang.Object data)Short-circuit evaluation of logical expression.protected java.lang.StringInterpreterBase. stringifyProperty(JexlNode node)Pretty-prints a failing property (de)reference.protected static java.lang.StringInterpreterBase. stringifyPropertyValue(JexlNode node)Pretty-prints a failing property value (de)reference.private booleanInterpreter. testPredicate(JexlNode node, java.lang.Object condition)protected java.lang.ObjectInterpreterBase. undefinedVariable(JexlNode node, java.lang.String variable)Triggered when a variable is lexically known as undefined.protected java.lang.ObjectInterpreterBase. unsolvableMethod(JexlNode node, java.lang.String method)Triggered when a method cannot be resolved.protected java.lang.ObjectInterpreterBase. unsolvableMethod(JexlNode node, java.lang.String method, java.lang.Object[] args)Triggered when a method cannot be resolved.protected java.lang.ObjectInterpreterBase. unsolvableProperty(JexlNode node, java.lang.String property, boolean undef, java.lang.Throwable cause)Triggered when a property cannot be resolved.protected java.lang.ObjectInterpreterBase. unsolvableVariable(JexlNode node, java.lang.String variable, boolean undef)Triggered when a variable cannot be resolved.protected java.lang.ObjectInterpreterBase. variableError(JexlNode node, java.lang.String variable, JexlException.VariableIssue issue)Triggered when a variable generates an issue.protected java.lang.ObjectInterpreter. visitLexicalNode(JexlNode node, java.lang.Object data)Runs a node.protected java.lang.ObjectScriptVisitor. visitNode(JexlNode node, java.lang.Object data)Visits a node.Constructors in org.apache.commons.jexl3.internal with parameters of type JexlNode Constructor Description CallDispatcher(JexlNode anode, boolean acacheable)Dispatcher ctor.DeferredExpression(java.lang.CharSequence expr, JexlNode node)Creates a deferred unified expression.ImmediateExpression(java.lang.CharSequence expr, JexlNode node, TemplateEngine.TemplateExpression source)Creates an immediate unified expression.JexlBasedExpression(java.lang.CharSequence theExpr, JexlNode theNode, TemplateEngine.TemplateExpression theSource)Creates a JEXL interpretable unified expression.NestedExpression(java.lang.CharSequence expr, JexlNode node, Scope sc)Creates a nested unified expression. -
Uses of JexlNode in org.apache.commons.jexl3.parser
Fields in org.apache.commons.jexl3.parser declared as JexlNode Modifier and Type Field Description private 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 JexlNode Modifier and Type Field Description private static java.util.Set<java.lang.Class<? extends JexlNode>>JexlParser. ASSIGN_NODESThe set of assignment operators as classes.Methods in org.apache.commons.jexl3.parser that return JexlNode Modifier and Type Method Description JexlNodeJexlNode.Info. getNode()JexlNodeSimpleNode. jjtGetChild(int i)Gets a child of this node.JexlNodeSimpleNode. jjtGetParent()Gets this node's parent.Methods in org.apache.commons.jexl3.parser with parameters of type JexlNode Modifier and Type Method Description voidFeatureController. controlNode(JexlNode node)Perform the control on a node.private java.lang.ObjectFeatureController. controlSideEffect(JexlNode node, java.lang.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 the beginning of a 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 java.lang.ObjectFeatureController. visitNode(JexlNode node, java.lang.Object data)protected JexlOperatorOperatorController. visitNode(JexlNode node, java.lang.Object data)Constructors in org.apache.commons.jexl3.parser with parameters of type JexlNode Constructor Description Info(JexlNode jnode)Default ctor.Info(JexlNode jnode, java.lang.String name, int l, int c)Full detail ctor.Info(JexlNode jnode, JexlInfo info)Copy ctor.
-