Package org.smtlib.impl
Class SMTExpr.Keyword
java.lang.Object
org.smtlib.impl.Pos.Posable
org.smtlib.impl.Pos.Printable
org.smtlib.impl.SMTExpr.Keyword
- All Implemented Interfaces:
IExpr.IKeyword,INode,IPos.IPosable
- Enclosing class:
SMTExpr
This class represents an SMT Keyword syntax token
-
Field Summary
FieldsFields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }booleanEqual to any IKeyword designating the same abstract keyword.inthashCode()kind()Helpful method that indicates the class of expression, used in human-readable messages.value()A canonical representation of keyword keyMethods 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.IExpr.IKeyword
toStringMethods inherited from interface org.smtlib.IPos.IPosable
pos, setPos
-
Field Details
-
value
-
-
Constructor Details
-
Keyword
Creates a Keyword from the given canonical string (including the leading colon).
-
-
Method Details
-
value
Description copied from interface:IExpr.IKeywordA canonical representation of keyword key- Specified by:
valuein interfaceIExpr.IKeyword
-
kind
Description copied from interface:IExpr.IKeywordHelpful method that indicates the class of expression, used in human-readable messages.- Specified by:
kindin interfaceIExpr.IKeyword
-
equals
Equal to any IKeyword designating the same abstract keyword.- Specified by:
equalsin interfaceIExpr.IKeyword- 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
-