Class AssemblyStringTerminal

All Implemented Interfaces:
Comparable<AssemblySymbol>

public class AssemblyStringTerminal extends AssemblyTerminal
A terminal that accepts only a particular string
  • Field Details

    • str

      protected final String str
  • Constructor Details

    • AssemblyStringTerminal

      public AssemblyStringTerminal(String str)
      Construct a terminal that accepts only the given string
      Parameters:
      str - the string to accept
  • Method Details