public abstract class Leaf extends Object implements ParsedPattern
Leaf
s form a set (by a cyclic doubly-linked list.)Modifier and Type | Field and Description |
---|---|
Locator |
location
Source location where this leaf was defined.
|
Modifier | Constructor and Description |
---|---|
protected |
Leaf(Locator location) |
Modifier and Type | Method and Description |
---|---|
protected void |
createDataMethod(JDefinedClass clazz,
JType valueType,
NodeSet nset,
Set<Prop> props)
Creates a prop of the data value method.
|
Leaf |
getNext() |
Leaf |
getPrev() |
Leaf |
merge(Leaf that)
Combines two sets into one set.
|
Iterable<Leaf> |
siblings()
Returns the collection of all the siblings
(including itself)
|
public Locator location
protected Leaf(Locator location)
public final Leaf getNext()
public final Leaf getPrev()
public final Iterable<Leaf> siblings()
protected final void createDataMethod(JDefinedClass clazz, JType valueType, NodeSet nset, Set<Prop> props)
Copyright © 2019 Oracle Corporation. All rights reserved.