|
Building Parsers with Java | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--sjm.parse.Assembler
|
+--sjm.examples.pretty.PrettyAlternationAssembler
Replace a ComponentNode object on the stack
with a new composite that holds the popped node as its
only child.
| Field Summary | |
protected java.lang.String |
name
|
| Constructor Summary | |
PrettyAlternationAssembler(java.lang.String name)
Create an assembler that will replace a ComponentNode
object on the stack with a new composite that holds
the popped node as its only child and whose name is as
supplied here. |
|
| Method Summary | |
void |
workOn(Assembly a)
Replace a ComponentNode object on the stack
with a new composite that holds the popped node as its
only child. |
| Methods inherited from class sjm.parse.Assembler |
elementsAbove |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected java.lang.String name
| Constructor Detail |
public PrettyAlternationAssembler(java.lang.String name)
ComponentNode
object on the stack with a new composite that holds
the popped node as its only child and whose name is as
supplied here.| Method Detail |
public void workOn(Assembly a)
ComponentNode object on the stack
with a new composite that holds the popped node as its
only child.Assembly - the assembly to work on
|
by Steve Metsker | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||