Building Parsers with Java

sjm.examples.coffee
Class PriceAssembler

java.lang.Object
  |
  +--sjm.parse.Assembler
        |
        +--sjm.examples.coffee.PriceAssembler

public class PriceAssembler
extends Assembler

Pops a number and sets the target coffee's price to this number.


Constructor Summary
PriceAssembler()
           
 
Method Summary
 void workOn(Assembly a)
          Pop a number, and set the target coffee's price to this string.
 
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

PriceAssembler

public PriceAssembler()
Method Detail

workOn

public void workOn(Assembly a)
Pop a number, and set the target coffee's price to this string.
Overrides:
workOn in class Assembler
Parameters:
Assembly - the assembly to work on

by Steve Metsker