|
Absimpa v196 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
N - is the type of node being created.public interface NodeFactory<N>
creates a new N from a list of N objects provided by a
parser. Whenever a parser recognizes a piece of input, the sub-pieces
where already mapped to objects of type N. The list of these
objects is passed by the parser to its NodeFactory to obtain a
combined N.
| Method Summary | |
|---|---|
N |
create(java.util.List<N> children)
creates a new N from the child objects. |
| Method Detail |
|---|
N create(java.util.List<N> children)
creates a new N from the child objects. This list of children
may be empty, but it will not contain null elements.
N or null. A return value of null
will not be put into a list of nodes on the level above, but
will be discarded.
|
Absimpa v196 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||