Class SMTExpr.PatternTerms

All Implemented Interfaces:
IAttributeValue, IExpr.IPatternTerms, INode, IPos.IPosable, IResponse
Enclosing class:
SMTExpr

public static class SMTExpr.PatternTerms extends Pos.Printable implements IExpr.IPatternTerms
Represents the value of a :pattern attribute: a list of trigger terms.
  • Field Details

  • Constructor Details

    • PatternTerms

      public PatternTerms(List<IExpr> terms)
      Creates a pattern from the given (possibly empty) list of terms.
  • Method Details

    • terms

      public List<IExpr> terms()
      Specified by:
      terms in interface IExpr.IPatternTerms
    • accept

      public <T> T accept(IVisitor<T> v) throws IVisitor.VisitorException
      Description copied from interface: INode
      The accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }
      Specified by:
      accept in interface INode
      Type Parameters:
      T - the return type desired from the visit methods
      Parameters:
      v - the visitor class
      Returns:
      the value returned by the visit method
      Throws:
      IVisitor.VisitorException