Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
JavaFXTreeVisitor |
|
| 0.0;0 |
1 | /* | |
2 | * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. | |
3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
4 | * | |
5 | * This code is free software; you can redistribute it and/or modify it | |
6 | * under the terms of the GNU General Public License version 2 only, as | |
7 | * published by the Free Software Foundation. Sun designates this | |
8 | * particular file as subject to the "Classpath" exception as provided | |
9 | * by Sun in the LICENSE file that accompanied this code. | |
10 | * | |
11 | * This code is distributed in the hope that it will be useful, but WITHOUT | |
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | * version 2 for more details (a copy is included in the LICENSE file that | |
15 | * accompanied this code). | |
16 | * | |
17 | * You should have received a copy of the GNU General Public License version | |
18 | * 2 along with this work; if not, write to the Free Software Foundation, | |
19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
20 | * | |
21 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
22 | * CA 95054 USA or visit www.sun.com if you need additional information or | |
23 | * have any questions. | |
24 | */ | |
25 | ||
26 | package com.sun.javafx.api.tree; | |
27 | ||
28 | import com.sun.source.tree.TreeVisitor; | |
29 | ||
30 | /** | |
31 | * A visitor of JavaFX Script trees, which extends the TreeVisitor in | |
32 | * the javac Compiler API. | |
33 | * | |
34 | * <p> Classes implementing this interface may or may not throw a | |
35 | * {@code NullPointerException} if the additional parameter {@code p} | |
36 | * is {@code null}; see documentation of the implementing class for | |
37 | * details. | |
38 | * | |
39 | * <p> <b>WARNING:</b> It is possible that methods will be added to | |
40 | * this interface to accommodate new, currently unknown, language | |
41 | * structures added to future versions of the Java™ programming | |
42 | * language. Therefore, visitor classes directly implementing this | |
43 | * interface may be source incompatible with future versions of the | |
44 | * platform. | |
45 | * | |
46 | * @param <R> the return type of this visitor's methods. Use {@link | |
47 | * Void} for visitors that do not need to return results. | |
48 | * @param <P> the type of the additional parameter to this visitor's | |
49 | * methods. Use {@code Void} for visitors that do not need an | |
50 | * additional parameter. | |
51 | * | |
52 | * @author Tom Ball | |
53 | */ | |
54 | public interface JavaFXTreeVisitor<R,P> extends TreeVisitor<R,P> { | |
55 | R visitBlockExpression(BlockExpressionTree node, P p); | |
56 | R visitBindExpression(BindExpressionTree node, P p); | |
57 | R visitClassDeclaration(ClassDeclarationTree node, P p); | |
58 | R visitForExpression(ForExpressionTree node, P p); | |
59 | R visitForExpressionInClause(ForExpressionInClauseTree node, P p); | |
60 | R visitInitDefinition(InitDefinitionTree node, P p); | |
61 | R visitInterpolate(InterpolateTree node, P p); | |
62 | R visitInterpolateValue(InterpolateValueTree node, P p); | |
63 | R visitIndexof(IndexofTree node, P p); | |
64 | R visitInstantiate(InstantiateTree node, P p); | |
65 | R visitKeyFrameLiteral(KeyFrameLiteralTree node, P p); | |
66 | R visitObjectLiteralPart(ObjectLiteralPartTree node, P p); | |
67 | R visitOnReplace(OnReplaceTree node, P p); | |
68 | R visitFunctionDefinition(FunctionDefinitionTree node, P p); | |
69 | R visitFunctionValue(FunctionValueTree node, P p); | |
70 | R visitPostInitDefinition(InitDefinitionTree node, P p); | |
71 | R visitSequenceDelete(SequenceDeleteTree node, P p); | |
72 | R visitSequenceEmpty(SequenceEmptyTree node, P p); | |
73 | R visitSequenceExplicit(SequenceExplicitTree node, P p); | |
74 | R visitSequenceIndexed(SequenceIndexedTree node, P p); | |
75 | R visitSequenceSlice(SequenceSliceTree node, P p); | |
76 | R visitSequenceInsert(SequenceInsertTree node, P p); | |
77 | R visitSequenceRange(SequenceRangeTree node, P p); | |
78 | R visitSetAttributeToObject(SetAttributeToObjectTree node, P p); | |
79 | R visitStringExpression(StringExpressionTree node, P p); | |
80 | R visitTimeLiteral(TimeLiteralTree node, P p); | |
81 | R visitTrigger(TriggerTree node, P p); | |
82 | R visitTypeAny(TypeAnyTree node, P p); | |
83 | R visitTypeClass(TypeClassTree node, P p); | |
84 | R visitTypeFunctional(TypeFunctionalTree node, P p); | |
85 | R visitTypeUnknown(TypeUnknownTree node, P p); | |
86 | R visitVariable(JavaFXVariableTree node, P p); | |
87 | } |