Package org.smtlib.impl
Class SMTExpr.Theory
java.lang.Object
org.smtlib.impl.Pos.Posable
org.smtlib.impl.Pos.Printable
org.smtlib.impl.SMTExpr.Theory
- All Implemented Interfaces:
INode,IPos.IPosable,ITheory
- Enclosing class:
SMTExpr
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<IExpr.IKeyword, IExpr.IAttribute<?>> The theory attributes — last occurrence wins for duplicate keywordsprotected List<IExpr.IAttribute<?>> All theory attributes in source order, preserving duplicatesprotected IExpr.ISymbolThe name of the theoryFields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
ConstructorsConstructorDescriptionTheory(IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) Creates a theory -
Method Summary
Modifier and TypeMethodDescription<T> TThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }List<IExpr.IAttribute<?>> The attributes in source order, including repeated keywordsThe attributes, as a Map, keyed by the keyword in the attributeThe name of the theoryvalue(IExpr.IKeyword keyword) The value of a given attribute (last occurrence wins for duplicate keywords)values(IExpr.IKeyword keyword) All values for a given attribute keyword, in source orderMethods inherited from class org.smtlib.impl.Pos.Printable
toStringMethods inherited from class org.smtlib.impl.Pos.Posable
equals, hashCode, pos, setPos
-
Field Details
-
theoryName
The name of the theory -
attributes
The theory attributes — last occurrence wins for duplicate keywords -
attributesList
All theory attributes in source order, preserving duplicates
-
-
Constructor Details
-
Theory
Creates a theory
-
-
Method Details
-
theoryName
The name of the theory- Specified by:
theoryNamein interfaceITheory
-
attributes
The attributes, as a Map, keyed by the keyword in the attribute- Specified by:
attributesin interfaceITheory
-
attributeList
Description copied from interface:ITheoryThe attributes in source order, including repeated keywords- Specified by:
attributeListin interfaceITheory
-
value
The value of a given attribute (last occurrence wins for duplicate keywords) -
values
All values for a given attribute keyword, in source order -
accept
Description copied from interface:INodeThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }- Specified by:
acceptin interfaceINode- 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
-