ParsedPattern
public abstract class Leaf extends Object implements ParsedPattern
Leaf
s form a set (by a cyclic doubly-linked list.)Modifier and Type | Field | Description |
---|---|---|
Locator |
location |
Source location where this leaf was defined.
|
Modifier and Type | Method | 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 © 2018 Oracle Corporation. All rights reserved.