Building Parsers with Java

sjm.examples.sling
Class PlotAssembler

java.lang.Object
  |
  +--sjm.parse.Assembler
        |
        +--sjm.examples.sling.PlotAssembler

public class PlotAssembler
extends Assembler

Pops a function, and pushes an AddFunctionCommand object. This command, when executed, will create a renderable function. The renderable function includes the function that we pop now and the value of the "nLine" variable.


Constructor Summary
PlotAssembler()
           
 
Method Summary
 void workOn(Assembly a)
          Pop a function, and push a command that will, at execution time, create a renderable function.
 
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

PlotAssembler

public PlotAssembler()
Method Detail

workOn

public void workOn(Assembly a)
Pop a function, and push a command that will, at execution time, create a renderable function. The renderable function includes the popped function and the value of the "nLine" variable.
Overrides:
workOn in class Assembler
Parameters:
Assembly - the assembly to work on

by Steve Metsker