Package org.smtlib.impl
Class Response.Seq
java.lang.Object
org.smtlib.impl.Pos.Posable
org.smtlib.impl.Pos.Printable
org.smtlib.impl.Response.Seq
- All Implemented Interfaces:
INode,IPos.IPosable,IResponse,IResponse.IAttributeList
- Enclosing class:
Response
Implementation of IAttributeList: a list of attributes returned by get-info.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.smtlib.IResponse
IResponse.IAssertionsResponse, IResponse.IAssignmentResponse, IResponse.IAttributeList, IResponse.IError, IResponse.IFactory, IResponse.IPair<T1,T2>, IResponse.IProofResponse, IResponse.IUnsatAssumptionsResponse, IResponse.IUnsatCoreResponse, IResponse.IValueResponse -
Field Summary
Fields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
ConstructorsConstructorDescriptionSeq(List<IExpr.IAttribute<? extends IAttributeValue>> list) Seq(IExpr.IAttribute<T> attr) -
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<? extends IAttributeValue>> booleanisError()Returns true if the response is an error responsebooleanisOK()Returns true if the response is a SUCCESS responseMethods inherited from class org.smtlib.impl.Pos.Printable
toStringMethods inherited from class org.smtlib.impl.Pos.Posable
equals, hashCode, pos, setPos
-
Constructor Details
-
Seq
-
Seq
-
-
Method Details
-
attributes
- Specified by:
attributesin interfaceIResponse.IAttributeList
-
isOK
public boolean isOK()Description copied from interface:IResponseReturns true if the response is a SUCCESS response -
isError
public boolean isError()Description copied from interface:IResponseReturns true if the response is an error response -
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
-