Package com.sun.tools.txw2.model
Class Leaf
java.lang.Object
com.sun.tools.txw2.model.Leaf
- All Implemented Interfaces:
ParsedPattern
Leaf
s form a set (by a cyclic doubly-linked list.)- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
createDataMethod
(JDefinedClass clazz, JType valueType, NodeSet nset, Set<Prop> props) Creates a prop of the data value method.final Leaf
getNext()
final Leaf
getPrev()
final Leaf
Combines two sets into one set.siblings()
Returns the collection of all the siblings (including itself)
-
Field Details
-
location
Source location where this leaf was defined.
-
-
Constructor Details
-
Leaf
-
-
Method Details
-
getNext
-
getPrev
-
merge
Combines two sets into one set.- Returns:
- this
-
siblings
Returns the collection of all the siblings (including itself) -
createDataMethod
protected final void createDataMethod(JDefinedClass clazz, JType valueType, NodeSet nset, Set<Prop> props) Creates a prop of the data value method.
-