|
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.arithmetic.TimesAssembler
Pop two numbers from the stack and push the result of multiplying the top number by the one below it.
| Constructor Summary | |
TimesAssembler()
|
|
| Method Summary | |
void |
workOn(Assembly a)
Pop two numbers from the stack and push the result of multiplying the top number by the one below it. |
| 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 |
| Constructor Detail |
public TimesAssembler()
| Method Detail |
public void workOn(Assembly a)
Assembly - the assembly whose stack to use
|
by Steve Metsker | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||