void setAntlr3Parser(pANTLR3_PARSER pParser);
/** Set the Parser object for this input. */
- virtual void setParser(Parser& parser);
+ void setParser(Parser& parser) override;
};/* class AntlrInput */
inline std::string AntlrInput::tokenText(pANTLR3_COMMON_TOKEN token) {
*
* @throws ParserException if an error is encountered during parsing.
*/
- Expr parseExpr();
+ Expr parseExpr() override;
private:
/** Initialize the class. Called from the constructors once the input stream
*
* @throws ParserException if an error is encountered during parsing.
*/
- Expr parseExpr();
+ Expr parseExpr() override;
private:
/**
*
* @throws ParserException if an error is encountered during parsing.
*/
- Expr parseExpr();
+ Expr parseExpr() override;
};/* class Smt2Input */
*
* @throws ParserException if an error is encountered during parsing.
*/
- Expr parseExpr();
+ Expr parseExpr() override;
};/* class SygusInput */
*
* @throws ParserException if an error is encountered during parsing.
*/
- Expr parseExpr();
+ Expr parseExpr() override;
};/* class TptpInput */
type.getConst<TypeConstant>() == BOOLEAN_TYPE);
}
- Node operator*() {
+ Node operator*() override {
switch(d_value) {
case FALSE:
return NodeManager::currentNM()->mkConst(false);
return NodeManager::currentNM()->mkConst(createFP());
}
- FloatingPointEnumerator& operator++() {
+ FloatingPointEnumerator& operator++() override {
const FloatingPoint current(createFP());
if (current.isNaN()) {
d_enumerationComplete = true;
return NodeManager::currentNM()->mkConst(d_rm);
}
- RoundingModeEnumerator& operator++() {
+ RoundingModeEnumerator& operator++() override {
switch (d_rm) {
case roundNearestTiesToEven:
d_rm = roundTowardPositive;
* matching ground terms to function applications with variable heads.
* See examples (EX1)-(EX3) above.
*/
- virtual bool sendInstantiation(InstMatch& m);
+ bool sendInstantiation(InstMatch& m) override;
private:
//-------------------- current information about the match
namespace theory {
namespace quantifiers {
-QuantInfo::QuantInfo() : d_unassigned_nvar(0), d_mg(NULL), d_una_index(0) {}
+QuantInfo::QuantInfo() : d_unassigned_nvar(0), d_una_index(0), d_mg(nullptr) {}
QuantInfo::~QuantInfo() {
delete d_mg;