com.sun.javafx.api.tree
Interface JavaFXStatementTree

All Superinterfaces:
JavaFXTree, com.sun.source.tree.StatementTree, com.sun.source.tree.Tree
All Known Subinterfaces:
InterpolateTree, ObjectLiteralPartTree, OnReplaceTree, SequenceDeleteTree, SetAttributeToObjectTree

public interface JavaFXStatementTree
extends com.sun.source.tree.StatementTree, JavaFXTree

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

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.javafx.api.tree.JavaFXTree
JavaFXTree.JavaFXKind
 
Nested classes/interfaces inherited from interface com.sun.source.tree.Tree
com.sun.source.tree.Tree.Kind
 
Method Summary
<R,D> R
accept(JavaFXTreeVisitor<R,D> visitor, D data)
          Accept method used to implement the visitor pattern.
 JavaFXTree.JavaFXKind getJavaFXKind()
          Gets the JavaFX kind of this tree.
 com.sun.source.tree.Tree.Kind getKind()
          Gets the com.sun.source.tree.Tree.Kind of this tree.
 
Methods inherited from interface com.sun.source.tree.Tree
accept
 

Method Detail

getKind

com.sun.source.tree.Tree.Kind getKind()
Gets the com.sun.source.tree.Tree.Kind of this tree. Because Tree kinds cannot be extended, Kind.OTHER is always returned for any instance of JavaFXTree. Use getJavaFXKind to get the JavaFX kind.

Specified by:
getKind in interface JavaFXTree
Specified by:
getKind in interface com.sun.source.tree.Tree
Returns:
Kind.OTHER

getJavaFXKind

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

Specified by:
getJavaFXKind in interface JavaFXTree
Returns:
the kind of this tree.

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.

Specified by:
accept in interface JavaFXTree
Type Parameters:
R - result type of this operation.
D - type of additonal data.