Class Pos.AbstractExpr

All Implemented Interfaces:
IAttributeValue, IExpr, INode, IPos.IPosable, IResponse
Direct Known Subclasses:
SMTExpr.AsIdentifier, SMTExpr.AttributedExpr, SMTExpr.Error, SMTExpr.Exists, SMTExpr.FcnExpr, SMTExpr.Forall, SMTExpr.Lambda, SMTExpr.Let, SMTExpr.Literal, SMTExpr.Match, SMTExpr.ParameterizedIdentifier, SMTExpr.Symbol
Enclosing class:
Pos

public abstract static class Pos.AbstractExpr extends Pos.Printable implements IExpr
A Printable that also implements IExpr, additionally holding the sort computed for the expression by the type checker (null if not yet, or never, computed).
  • Field Details

    • sort

      protected ISort sort
  • Constructor Details

    • AbstractExpr

      public AbstractExpr()
  • Method Details

    • sort

      public ISort sort()
      Description copied from interface: IExpr
      The sort computed for this expression by the type checker, or null if not yet (or never) computed.
      Specified by:
      sort in interface IExpr
    • setSort

      public void setSort(ISort sort)
      Description copied from interface: IExpr
      Records the sort computed for this expression by the type checker.
      Specified by:
      setSort in interface IExpr