Building Parsers with Java

sjm.examples.regular
Class AndAssembler

java.lang.Object
  |
  +--sjm.parse.Assembler
        |
        +--sjm.examples.regular.AndAssembler

public class AndAssembler
extends Assembler

Pop two Parsers from the stack and push a new Sequence of them.


Constructor Summary
AndAssembler()
           
 
Method Summary
 void workOn(Assembly a)
          Pop two parsers from the stack and push a new Sequence of them.
 
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

AndAssembler

public AndAssembler()
Method Detail

workOn

public void workOn(Assembly a)
Pop two parsers from the stack and push a new Sequence of them.
Overrides:
workOn in class Assembler
Parameters:
Assembly - the assembly whose stack to use

by Steve Metsker