com.sun.javafx.api.tree
Interface Tree

All Known Subinterfaces:
AssignmentTree, BinaryTree, BlockExpressionTree, BreakTree, CatchTree, ClassDeclarationTree, CompoundAssignmentTree, ConditionalExpressionTree, ContinueTree, EmptyStatementTree, ErroneousTree, ExpressionTree, ForExpressionInClauseTree, ForExpressionTree, FunctionDefinitionTree, FunctionInvocationTree, FunctionValueTree, IdentifierTree, ImportTree, IndexofTree, InitDefinitionTree, InstanceOfTree, InstantiateTree, InterpolateValueTree, KeyFrameLiteralTree, LiteralTree, MemberSelectTree, ModifiersTree, ObjectLiteralPartTree, OnReplaceTree, ParenthesizedTree, ReturnTree, SequenceCreatorTree, SequenceDeleteTree, SequenceEmptyTree, SequenceExplicitTree, SequenceIndexedTree, SequenceInsertTree, SequenceRangeTree, SequenceSliceTree, StringExpressionTree, ThrowTree, TimeLiteralTree, TriggerTree, TryTree, TypeAnyTree, TypeArrayTree, TypeCastTree, TypeClassTree, TypeFunctionalTree, TypeTree, TypeUnknownTree, UnaryTree, UnitTree, VariableInvalidateTree, VariableTree, WhileLoopTree

public interface Tree

Common interface for all nodes in an abstract syntax tree for the JavaFX Script language.

WARNING: This interface and its sub-interfaces are subject to change as the Java™ programming language evolves. These interfaces are implemented by Sun's Java compiler (javac) and should not be implemented either directly or indirectly by other applications.

Since:
1.6

Nested Class Summary
static class Tree.JavaFXKind
          Enumerates all kinds of trees.
 
Method Summary
<R,D> R
accept(JavaFXTreeVisitor<R,D> visitor, D data)
          Accept method used to implement the visitor pattern.
 Tree.JavaFXKind getJavaFXKind()
          Gets the JavaFX kind of this tree.
 boolean isMissing()
          Was this tree expected, but missing, and filled-in by the parser
 

Method Detail

getJavaFXKind

Tree.JavaFXKind getJavaFXKind()
Gets the JavaFX kind of this tree.

Returns:
the kind of this tree.

isMissing

boolean isMissing()
Was this tree expected, but missing, and filled-in by the parser


accept

<R,D> R accept(JavaFXTreeVisitor<R,D> visitor,
               D data)
Accept method used to implement the visitor pattern. The visitor pattern is used to implement operations on trees.

Type Parameters:
R - result type of this operation.
D - type of additonal data.