Building Parsers with Java

sjm.examples.logic
Class ListWithTailAssembler

java.lang.Object
  |
  +--sjm.parse.Assembler
        |
        +--sjm.examples.logic.ListWithTailAssembler

public class ListWithTailAssembler
extends Assembler

Pops the tail and terms of a list from an assembly's stack, builds the list, and pushes it.


Constructor Summary
ListWithTailAssembler()
           
 
Method Summary
 void workOn(Assembly a)
          Pops the tail and terms of a list from an assembly's stack, builds the list, and pushes 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

ListWithTailAssembler

public ListWithTailAssembler()
Method Detail

workOn

public void workOn(Assembly a)
Pops the tail and terms of a list from an assembly's stack, builds the list, and pushes it.
Overrides:
workOn in class Assembler
Parameters:
Assembly - the assembly to work on

by Steve Metsker