Package org.smtlib.impl
Class SMTExpr.Constructor
java.lang.Object
org.smtlib.impl.Pos.Posable
org.smtlib.impl.Pos.Printable
org.smtlib.impl.SMTExpr.Constructor
- All Implemented Interfaces:
IExpr.IConstructor,INode,IPos.IPosable
- Enclosing class:
SMTExpr
Represents a constructor declaration within a datatype, consisting of a name and a list of selectors.
-
Field Summary
FieldsFields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
ConstructorsConstructorDescriptionConstructor(IExpr.ISymbol symbol, List<IExpr.ISelector> selectors) Creates a constructor with the given name and list of selector declarations. -
Method Summary
Modifier and TypeMethodDescription<T> TThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }symbol()Methods inherited from class org.smtlib.impl.Pos.Printable
toStringMethods inherited from class org.smtlib.impl.Pos.Posable
equals, hashCode, pos, setPosMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.smtlib.IExpr.IConstructor
toStringMethods inherited from interface org.smtlib.IPos.IPosable
pos, setPos
-
Field Details
-
symbol
-
selectors
-
-
Constructor Details
-
Constructor
Creates a constructor with the given name and list of selector declarations.
-
-
Method Details
-
symbol
- Specified by:
symbolin interfaceIExpr.IConstructor
-
selectors
- Specified by:
selectorsin interfaceIExpr.IConstructor
-
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
-