| java.lang.Object com.sun.tools.internal.txw2.model.Leaf
All known Subclasses: com.sun.tools.internal.txw2.model.Data, com.sun.tools.internal.txw2.model.Ref, com.sun.tools.internal.txw2.model.Value, com.sun.tools.internal.txw2.model.Empty, com.sun.tools.internal.txw2.model.Node,
Leaf | abstract public class Leaf implements ParsedPattern(Code) | | Leaf s form a set (by a cyclic doubly-linked list.)
author: Kohsuke Kawaguchi |
Field Summary | |
public Locator | location Source location where this leaf was defined. |
location | public Locator location(Code) | | Source location where this leaf was defined.
|
createDataMethod | final protected void createDataMethod(JDefinedClass clazz, JType valueType, NodeSet nset, Set<Prop> props)(Code) | | Creates a prop of the data value method.
|
generate | abstract void generate(JDefinedClass clazz, NodeSet nset, Set<Prop> props)(Code) | | Populate the body of the writer class.
Parameters: props - captures the generatesd Props to |
merge | final public Leaf merge(Leaf that)(Code) | | Combines two sets into one set.
this |
siblings | final public Iterable<Leaf> siblings()(Code) | | Returns the collection of all the siblings
(including itself)
|
|
|