Uses of Interface
jdk.nashorn.api.tree.ExpressionTree

Packages that use ExpressionTree 
Package Description
jdk.nashorn.api.tree
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 jdk.nashorn.api.tree

    Subinterfaces of ExpressionTree in jdk.nashorn.api.tree 
    Modifier and Type Interface Description
    interface  ArrayAccessTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ArrayLiteralTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  AssignmentTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  BinaryTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ClassExpressionTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  CompoundAssignmentTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ConditionalExpressionTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ErroneousTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  FunctionCallTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  FunctionExpressionTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  IdentifierTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  InstanceOfTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  LiteralTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  MemberSelectTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  NewTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ObjectLiteralTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ParenthesizedTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  RegExpLiteralTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  SpreadTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  TemplateLiteralTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  UnaryTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  YieldTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    Methods in jdk.nashorn.api.tree that return ExpressionTree 
    Modifier and Type Method Description
    ExpressionTree VariableTree.getBinding()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the binding of this declaration.
    ExpressionTree ClassDeclarationTree.getClassHeritage()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The expression of the extends clause.
    ExpressionTree ClassExpressionTree.getClassHeritage()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The expression of the extends clause.
    ExpressionTree CatchTree.getCondition()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the optional catch condition expression.
    ExpressionTree ConditionalExpressionTree.getCondition()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the condition expression of this ternary expression.
    ExpressionTree ConditionalLoopTree.getCondition()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the condition expression of this 'loop' statement.
    ExpressionTree DoWhileLoopTree.getCondition()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the condition expression of this do-while statement.
    ExpressionTree ForLoopTree.getCondition()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the condition expression of this 'for' statement.
    ExpressionTree IfTree.getCondition()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the condition expression of this 'if' statement.
    ExpressionTree WhileLoopTree.getCondition()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The condition expression of this 'while' statement.
    ExpressionTree NewTree.getConstructorExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the constructor expression of this 'new' expression.
    ExpressionTree ArrayAccessTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the array that is accessed.
    ExpressionTree AssignmentTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the right hand side (RHS) of this assignment.
    ExpressionTree CaseTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Case expression of this 'case' statement.
    ExpressionTree CompoundAssignmentTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the right hand side (RHS) of this assignment.
    ExpressionTree ExpressionStatementTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression of this expression statement.
    ExpressionTree ForInLoopTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The object or array being whose properties are iterated.
    ExpressionTree ForOfLoopTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The object or array being whose properties are iterated.
    ExpressionTree InstanceOfTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression whose type is being checked.
    ExpressionTree MemberSelectTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The object expression whose member is being selected.
    ExpressionTree ParenthesizedTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression within the parenthesis.
    ExpressionTree ReturnTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression being returned.
    ExpressionTree SpreadTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression that is being spread.
    ExpressionTree SwitchTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression on which this statement switches.
    ExpressionTree ThrowTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression being thrown.
    ExpressionTree UnaryTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression operated by the unary operator.
    ExpressionTree YieldTree.getExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the expression that is yielded.
    ExpressionTree ConditionalExpressionTree.getFalseExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the false part of this ternary expression.
    ExpressionTree FunctionCallTree.getFunctionSelect()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the function being called.
    ExpressionTree ArrayAccessTree.getIndex()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the index of the array element accessed.
    ExpressionTree ForLoopTree.getInitializer()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the initializer expression of this 'for' statement.
    ExpressionTree VariableTree.getInitializer()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the initial value expression for this variable.
    ExpressionTree PropertyTree.getKey()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the name of this property.
    ExpressionTree BinaryTree.getLeftOperand()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns left hand side (LHS) of this binary expression.
    ExpressionTree CatchTree.getParameter()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the catch parameter identifier or parameter binding pattern of the exception caught.
    ExpressionTree BinaryTree.getRightOperand()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns right hand side (RHS) of this binary expression.
    ExpressionTree WithTree.getScope()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The scope object expression for this 'with' statement.
    ExpressionTree ConditionalExpressionTree.getTrueExpression()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the true part of this ternary expression.
    ExpressionTree ForLoopTree.getUpdate()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the update expression of this 'for' statement.
    ExpressionTree PropertyTree.getValue()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the value of this property.
    ExpressionTree AssignmentTree.getVariable()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the left hand side (LHS) of this assignment.
    ExpressionTree CompoundAssignmentTree.getVariable()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the left hand side (LHS) of this assignment.
    ExpressionTree ForInLoopTree.getVariable()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The for..in left hand side expression.
    ExpressionTree ForOfLoopTree.getVariable()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The for..of left hand side expression.
    Methods in jdk.nashorn.api.tree that return types with arguments of type ExpressionTree 
    Modifier and Type Method Description
    List<? extends ExpressionTree> FunctionCallTree.getArguments()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the list of arguments being passed to this function call.
    List<? extends ExpressionTree> ArrayLiteralTree.getElements()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the list of Array element expressions.
    List<? extends ExpressionTree> TemplateLiteralTree.getExpressions()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the list of expressions in this template string
    List<? extends ExpressionTree> FunctionDeclarationTree.getParameters()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the parameters of this function.
    List<? extends ExpressionTree> FunctionExpressionTree.getParameters()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the parameters of this function.