|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Constituent in diva.sketch.parser2d |
Classes in diva.sketch.parser2d that implement Constituent | |
class |
CompositeConstituent
A default implementation for a non-terminal constituent. |
class |
TerminalConstituent
A default implementation for a terminal constituent. |
Fields in diva.sketch.parser2d declared as Constituent | |
(package private) Constituent[] |
ConstituentSet._children
The constituents that this set contains. |
(package private) Constituent[] |
CompositeConstituent._children
The children of this constituent. |
Methods in diva.sketch.parser2d that return Constituent | |
Constituent[] |
ConstituentSet.findRelatives(Constituent c,
java.lang.String type,
RelationConstraint r)
Return the set of constituents of the given type, related to the the given constituent by the given relation. |
Constituent |
CompositeConstituent.getChild(java.lang.String name)
Return the child with the given name; throw an IllegalArgument exception if the argument is not a child of this composite. |
Methods in diva.sketch.parser2d with parameters of type Constituent | |
Constituent[] |
ConstituentSet.findRelatives(Constituent c,
java.lang.String type,
RelationConstraint r)
Return the set of constituents of the given type, related to the the given constituent by the given relation. |
ConstituentSet |
ConstituentSet.reduce(Constituent lhs,
Constituent[] rhs)
Return a new constituent set that has been reduced by the given "production". |
java.lang.String |
CompositeConstituent.getName(Constituent child)
Return the name of the given child; throw an IllegalArgument exception if the argument is not a child of this composite. |
Constructors in diva.sketch.parser2d with parameters of type Constituent | |
ConstituentSet.ConstituentSet(Constituent[] children)
Construct a set of the given constituents. |
|
CompositeConstituent.CompositeConstituent(java.lang.String type,
Constituent[] children,
java.lang.String[] childNames)
Construct a composite constituent with the given type and children. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |