Class Alts

All Implemented Interfaces:
Cloneable

public class Alts extends Term
  • Field Details

    • alts

      protected final List<Alt> alts
    • bnfRuleName

      protected String bnfRuleName
  • Constructor Details

    • Alts

      public Alts()
  • Method Details

    • getAlts

      public List<Alt> getAlts()
    • setBnfRuleName

      public void setBnfRuleName(String bnfRuleName)
    • getBnfRuleName

      public String getBnfRuleName()
    • addAlt

      public void addAlt(Alt alt)
    • last

      public Alt last()
    • accept

      public void accept(Visitor v)
      Specified by:
      accept in class Node
    • copy

      public Alts copy()
      Overrides:
      copy in class Node
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object