Package org.smtlib
Interface ISort.IFactory
- All Known Implementing Classes:
Factory
- Enclosing interface:
ISort
public static interface ISort.IFactory
The interface for a Sort-creating factory.
-
Method Summary
Modifier and TypeMethodDescriptionBool()Returns the Bool sort.createErrorDefinition(IExpr.IIdentifier id, String errorMessage, IPos pos) Creates an error-placeholder definition (suppresses cascading errors).createFcnSort(ISort[] args, ISort result) Creates a function sort.createSortAbbreviation(IExpr.IIdentifier identifier, List<ISort.IParameter> params, ISort sortExpr) Creates a new sort abbreviation.createSortExpression(IExpr.IIdentifier sortFamily, List<ISort> exprs) Creates a sort expression, applying a family to a list of sort arguments; the arity of the identifier in the applicable symbol table must match the number of sort arguments.createSortExpression(IExpr.IIdentifier sortFamily, ISort... exprs) Creates a sort expression, applying a family to a list of sort arguments; the arity of the identifier in the applicable symbol table must match the number of sort arguments.createSortFamily(IExpr.IIdentifier identifier, IExpr.INumeral arity, List<IExpr.IAttribute<?>> attributes) Creates a sort family with the given identifier, arity, and attributes (null or empty if none).createSortParameter(IExpr.ISymbol symbol) Creates a parameter for a parameterized sort abbreviation.
-
Method Details
-
createSortFamily
ISort.IFamily createSortFamily(IExpr.IIdentifier identifier, IExpr.INumeral arity, List<IExpr.IAttribute<?>> attributes) Creates a sort family with the given identifier, arity, and attributes (null or empty if none). -
createSortParameter
Creates a parameter for a parameterized sort abbreviation. -
createSortExpression
Creates a sort expression, applying a family to a list of sort arguments; the arity of the identifier in the applicable symbol table must match the number of sort arguments. -
createSortExpression
Creates a sort expression, applying a family to a list of sort arguments; the arity of the identifier in the applicable symbol table must match the number of sort arguments. -
createSortAbbreviation
ISort.IAbbreviation createSortAbbreviation(IExpr.IIdentifier identifier, List<ISort.IParameter> params, ISort sortExpr) Creates a new sort abbreviation. -
createFcnSort
Creates a function sort. -
createErrorDefinition
Creates an error-placeholder definition (suppresses cascading errors). -
Bool
ISort.IApplication Bool()Returns the Bool sort.
-