Uses of Interface
org.openjdk.nashorn.api.tree.Tree
Packages that use Tree
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 Tree in org.openjdk.nashorn.api.tree
Subinterfaces of Tree 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 for a statement block.interfaceA tree node for a 'break' statement.interfaceA tree node for a 'case' in a 'switch' statement.interfaceA tree node for a 'catch' block in a 'try' statement.interfaceA tree node that represents a class declaration.interfaceA tree node that represents a class expression.interfaceRepresents the abstract syntax tree for compilation units (source files)interfaceA tree node for compound assignment operator.interfaceA tree node for the conditional operator ? :.interfaceA mixin for conditional "loop" statements.interfaceA tree node for a 'continue' statement.interfaceA tree node for a 'debugger' statement.interfaceA tree node for a 'do' statement.interfaceA tree node for an empty (skip) statement.interfaceA tree node to stand in for a malformed expression.interfaceA Tree node for export entry in Module information.interfaceA tree node for an expression statement.interfaceA tree node used as the base class for the different types of expressions.interfaceA tree node for for..in statement For example:interfaceA tree node for a basic 'for' loop statement.interfaceA tree node for for..of statement.interfaceA tree node for a function call expression.interfaceA tree node for a function declaration.interfaceA tree node for function expressions including arrow functions.interfaceA tree node for a statement that jumps to a target.interfaceA tree node for an identifier expression.interfaceA tree node for an 'if' statement.interfaceA Tree node for import entry of Module information.interfaceA tree node for an 'instanceof' expression.interfaceA tree node for a labeled statement.interfaceA tree node for a literal expression.interfaceA mixin for "loop" statements.interfaceA tree node for a member access expression.interfaceA Tree node for Module information.interfaceA tree node to declare a new instance of a class.interfaceRepresents ECMAScript object literal expression.interfaceA tree node for a parenthesized expression.interfaceTo represent property setting in an object literal tree.interfaceRepresents regular expression literal in the source code.interfaceA tree node for a 'return' statement.interfaceA tree node for spread operator in array elements, function call arguments.interfaceA tree node used as the base class for the different kinds of statements.interfaceA tree node for a 'switch' statement.interfaceA tree node for template literal strings.interfaceA tree node for a 'throw' statement.interfaceA tree node for a 'try' statement.interfaceA tree node for postfix and unary expressions.interfaceA tree node for a variable declaration statement.interfaceA tree node for a 'while' loop statement.interfaceA tree node for a 'with' statement.interfaceA tree node for yield expressions used in generator functions.Methods in org.openjdk.nashorn.api.tree that return TreeModifier and TypeMethodDescriptionFunctionExpressionTree.getBody()Returns the body of this function.InstanceOfTree.getType()Returns the type expression.UnknownTreeException.getUnknownTree()Returns the unknown tree.Methods in org.openjdk.nashorn.api.tree that return types with arguments of type TreeModifier and TypeMethodDescriptionTree.Kind.asInterface()Returns the associated interface type that uses this kind.CompilationUnitTree.getSourceElements()Return the list of source elements in this compilation unit.Methods in org.openjdk.nashorn.api.tree with parameters of type TreeModifier and TypeMethodDescriptionSimpleTreeVisitorES5_1.visitUnknown(Tree node, P p) Visit unknown expression/statement tree.TreeVisitor.visitUnknown(Tree node, P p) Visit unknown expression/statement tree.Constructors in org.openjdk.nashorn.api.tree with parameters of type TreeModifierConstructorDescriptionUnknownTreeException(Tree t, Object p) Creates a newUnknownTreeException.