Building Parsers with Java

sjm.examples.mechanics
Class ShowAssemblies

java.lang.Object
  |
  +--sjm.examples.mechanics.ShowAssemblies

public class ShowAssemblies
extends java.lang.Object

This class shows that a repetition of an object of the Terminal base class will match an entire assembly. This example brings out the fact that a TokenAssembly returns tokens as elements, and CharacterAssembly returns individual characters as elements.


Constructor Summary
ShowAssemblies()
           
 
Method Summary
static void main(java.lang.String[] args)
          This class shows that a repetition of an object of the Terminal base class will match an entire assembly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowAssemblies

public ShowAssemblies()
Method Detail

main

public static void main(java.lang.String[] args)
This class shows that a repetition of an object of the Terminal base class will match an entire assembly.
Parameters:
args - ignored

by Steve Metsker