Uses of Interface
org.openjdk.nashorn.api.tree.ExpressionTree
Packages that use ExpressionTree
Package
Description
Nashorn parser API provides interfaces to represent ECMAScript source code
as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.
-
Uses of ExpressionTree in org.openjdk.nashorn.api.tree
Subinterfaces of ExpressionTree in org.openjdk.nashorn.api.treeModifier and TypeInterfaceDescriptioninterfaceA tree node for an array access expression.interfaceRepresents ECMAScript array literal expression.interfaceA tree node for an assignment expression.interfaceA tree node for a binary expression.interfaceA tree node that represents a class expression.interfaceA tree node for compound assignment operator.interfaceA tree node for the conditional operator ? :.interfaceA tree node to stand in for a malformed expression.interfaceA tree node for a function call expression.interfaceA tree node for function expressions including arrow functions.interfaceA tree node for an identifier expression.interfaceA tree node for an 'instanceof' expression.interfaceA tree node for a literal expression.interfaceA tree node for a member access expression.interfaceA tree node to declare a new instance of a class.interfaceRepresents ECMAScript object literal expression.interfaceA tree node for a parenthesized expression.interfaceRepresents regular expression literal in the source code.interfaceA tree node for spread operator in array elements, function call arguments.interfaceA tree node for template literal strings.interfaceA tree node for postfix and unary expressions.interfaceA tree node for yield expressions used in generator functions.Methods in org.openjdk.nashorn.api.tree that return ExpressionTreeModifier and TypeMethodDescriptionVariableTree.getBinding()Returns the binding of this declaration.ClassDeclarationTree.getClassHeritage()The expression of theextendsclause.ClassExpressionTree.getClassHeritage()The expression of theextendsclause.CatchTree.getCondition()Returns the optional catch condition expression.ConditionalExpressionTree.getCondition()Returns the condition expression of this ternary expression.ConditionalLoopTree.getCondition()Returns the condition expression of this 'loop' statement.DoWhileLoopTree.getCondition()Returns the condition expression of this do-while statement.ForLoopTree.getCondition()Returns the condition expression of this 'for' statement.IfTree.getCondition()Returns the condition expression of this 'if' statement.WhileLoopTree.getCondition()The condition expression of this 'while' statement.NewTree.getConstructorExpression()Returns the constructor expression of this 'new' expression.ArrayAccessTree.getExpression()Returns the array that is accessed.AssignmentTree.getExpression()Returns the right hand side (RHS) of this assignment.CaseTree.getExpression()Case expression of this 'case' statement.CompoundAssignmentTree.getExpression()Returns the right hand side (RHS) of this assignment.ExpressionStatementTree.getExpression()Returns the expression of this expression statement.ForInLoopTree.getExpression()The object or array being whose properties are iterated.ForOfLoopTree.getExpression()The object or array being whose properties are iterated.InstanceOfTree.getExpression()Returns the expression whose type is being checked.MemberSelectTree.getExpression()The object expression whose member is being selected.ParenthesizedTree.getExpression()Returns the expression within the parenthesis.ReturnTree.getExpression()Returns the expression being returned.SpreadTree.getExpression()Returns the expression that is being spread.SwitchTree.getExpression()Returns the expression on which this statement switches.ThrowTree.getExpression()Returns the expression being thrown.UnaryTree.getExpression()Returns the expression operated by the unary operator.YieldTree.getExpression()Returns the expression that is yielded.ConditionalExpressionTree.getFalseExpression()Returns the false part of this ternary expression.FunctionCallTree.getFunctionSelect()Returns the function being called.ArrayAccessTree.getIndex()Returns the index of the array element accessed.ForLoopTree.getInitializer()Returns the initializer expression of this 'for' statement.VariableTree.getInitializer()Returns the initial value expression for this variable.PropertyTree.getKey()Returns the name of this property.BinaryTree.getLeftOperand()Returns left hand side (LHS) of this binary expression.CatchTree.getParameter()Returns the catch parameter identifier or parameter binding pattern of the exception caught.BinaryTree.getRightOperand()Returns right hand side (RHS) of this binary expression.WithTree.getScope()The scope object expression for this 'with' statement.ConditionalExpressionTree.getTrueExpression()Returns the true part of this ternary expression.ForLoopTree.getUpdate()Returns the update expression of this 'for' statement.PropertyTree.getValue()Returns the value of this property.AssignmentTree.getVariable()Returns the left hand side (LHS) of this assignment.CompoundAssignmentTree.getVariable()Returns the left hand side (LHS) of this assignment.ForInLoopTree.getVariable()The for..in left hand side expression.ForOfLoopTree.getVariable()The for..of left hand side expression.Methods in org.openjdk.nashorn.api.tree that return types with arguments of type ExpressionTreeModifier and TypeMethodDescriptionList<? extends ExpressionTree> FunctionCallTree.getArguments()Returns the list of arguments being passed to this function call.List<? extends ExpressionTree> ArrayLiteralTree.getElements()Returns the list of Array element expressions.List<? extends ExpressionTree> TemplateLiteralTree.getExpressions()Returns the list of expressions in this template stringList<? extends ExpressionTree> FunctionDeclarationTree.getParameters()Returns the parameters of this function.List<? extends ExpressionTree> FunctionExpressionTree.getParameters()Returns the parameters of this function.