Building Parsers with Java

sjm.examples.logic
Class NotAssembler

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

public class NotAssembler
extends Assembler

Pops a structure from the top of the stack and pushes a Not version of it.


Constructor Summary
NotAssembler()
           
 
Method Summary
 void workOn(Assembly a)
          Pops a structure from the top of the stack and pushes a Not version of 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

NotAssembler

public NotAssembler()
Method Detail

workOn

public void workOn(Assembly a)
Pops a structure from the top of the stack and pushes a Not version of it.
Overrides:
workOn in class Assembler
Parameters:
Assembly - the assembly to work on

by Steve Metsker