Class AssemblyFixedNumericTerminal

All Implemented Interfaces:
Comparable<AssemblySymbol>

public class AssemblyFixedNumericTerminal extends AssemblyNumericTerminal
A terminal that accepts only a particular numeric value

This is different from a fixed string, because it will accept any encoding of the given numeric value.

  • Field Details

    • val

      protected final long val
  • Constructor Details

    • AssemblyFixedNumericTerminal

      public AssemblyFixedNumericTerminal(long val)
      Construct a terminal that accepts only the given numeric value
      Parameters:
      val - the value to accept
  • Method Details