GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/parser/cvc/cvc.h Lines: 4 4 100.0 %
Date: 2021-03-23 Branches: 0 0 0.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file cvc.h
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Andres Noetzli, Andrew Reynolds
6
 ** This file is part of the CVC4 project.
7
 ** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 ** in the top-level source directory and their institutional affiliations.
9
 ** All rights reserved.  See the file COPYING in the top-level source
10
 ** directory for licensing information.\endverbatim
11
 **
12
 ** \brief The parser class for the CVC language.
13
 **
14
 ** The parser class for the CVC language.
15
 **/
16
17
#include "cvc4parser_private.h"
18
19
#ifndef CVC4__PARSER__CVC_H
20
#define CVC4__PARSER__CVC_H
21
22
#include "api/cvc4cpp.h"
23
#include "parser/parser.h"
24
25
namespace CVC4 {
26
27
namespace parser {
28
29
1374
class Cvc : public Parser
30
{
31
  friend class ParserBuilder;
32
33
 public:
34
  void forceLogic(const std::string& logic) override;
35
36
  /** Updates name to the tester name of cons, e.g. "is_cons" */
37
  bool getTesterName(api::Term cons, std::string& name) override;
38
39
 protected:
40
687
  Cvc(api::Solver* solver,
41
      SymbolManager* sm,
42
      Input* input,
43
      bool strictMode = false,
44
      bool parseOnly = false)
45
687
      : Parser(solver, sm, input, strictMode, parseOnly)
46
  {
47
687
  }
48
};
49
50
}  // namespace parser
51
}  // namespace CVC4
52
53
#endif /* CVC4__PARSER__CVC_H */