Package org.smtlib.impl
Class SMTExpr.ParameterizedIdentifier
java.lang.Object
org.smtlib.impl.Pos.Posable
org.smtlib.impl.Pos.Printable
org.smtlib.impl.Pos.AbstractExpr
org.smtlib.impl.SMTExpr.ParameterizedIdentifier
- All Implemented Interfaces:
IAttributeValue,IExpr,IExpr.IIdentifier,IExpr.IParameterizedIdentifier,IExpr.IQualifiedIdentifier,INode,IPos.IPosable,IResponse
- Enclosing class:
SMTExpr
public static class SMTExpr.ParameterizedIdentifier
extends Pos.AbstractExpr
implements IExpr.IParameterizedIdentifier
This class represents an SMT parameterized-identifier AST (e.g.
(_ BitVec 32)).-
Nested Class Summary
Nested classes/interfaces inherited from interface org.smtlib.IExpr
IExpr.IAsIdentifier, IExpr.IAttribute<TT extends IAttributeValue>, IExpr.IAttributedExpr, IExpr.IBinaryLiteral, IExpr.IBinding, IExpr.IConstructor, IExpr.IDecimal, IExpr.IDeclaration, IExpr.IError, IExpr.IExists, IExpr.IFactory, IExpr.IFcnExpr, IExpr.IForall, IExpr.IFunctionDeclaration, IExpr.IHexLiteral, IExpr.IIdentifier, IExpr.IIndex, IExpr.IKeyword, IExpr.ILambda, IExpr.ILet, IExpr.ILiteral, IExpr.IMatch, IExpr.IMatchCase, IExpr.INumeral, IExpr.IParameterizedIdentifier, IExpr.IPattern, IExpr.IPatternTerms, IExpr.IQualifiedIdentifier, IExpr.ISelector, IExpr.ISortDeclaration, IExpr.IStringLiteral, IExpr.ISymbolNested classes/interfaces inherited from interface org.smtlib.IResponse
IResponse.IAssertionsResponse, IResponse.IAssignmentResponse, IResponse.IAttributeList, IResponse.IPair<T1,T2>, IResponse.IProofResponse, IResponse.IUnsatAssumptionsResponse, IResponse.IUnsatCoreResponse, IResponse.IValueResponse -
Field Summary
FieldsFields inherited from class org.smtlib.impl.Pos.AbstractExpr
sortFields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
ConstructorsConstructorDescriptionParameterizedIdentifier(IExpr.ISymbol symbol, List<IExpr.IIndex> indices) Creates a parameterized identifier from the given head symbol and index list. -
Method Summary
Modifier and TypeMethodDescription<T> TThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }booleaninthashCode()head()The head symbol of the identifierThe head symbol of the identifierindices()All indices of the identifier: INumeral or ISymbol, or the literals IIndex describes.Methods inherited from class org.smtlib.impl.Pos.AbstractExpr
setSort, sortMethods inherited from class org.smtlib.impl.Pos.Printable
toStringMethods inherited from class org.smtlib.impl.Pos.Posable
pos, setPosMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.smtlib.IAttributeValue
isOKMethods inherited from interface org.smtlib.IPos.IPosable
pos, setPos
-
Field Details
-
head
-
indices
-
-
Constructor Details
-
ParameterizedIdentifier
Creates a parameterized identifier from the given head symbol and index list.
-
-
Method Details
-
head
Description copied from interface:IExpr.IParameterizedIdentifierThe head symbol of the identifier- Specified by:
headin interfaceIExpr.IParameterizedIdentifier
-
headSymbol
Description copied from interface:IExpr.IIdentifierThe head symbol of the identifier- Specified by:
headSymbolin interfaceIExpr.IIdentifier- Specified by:
headSymbolin interfaceIExpr.IQualifiedIdentifier
-
indices
Description copied from interface:IExpr.IParameterizedIdentifierAll indices of the identifier: INumeral or ISymbol, or the literals IIndex describes. Symbol indices are allowed only in SMT-LIB V2.5 and later.- Specified by:
indicesin interfaceIExpr.IParameterizedIdentifier
-
equals
- Overrides:
equalsin classPos.Posable
-
hashCode
public int hashCode()- Overrides:
hashCodein classPos.Posable
-
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
-