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

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andres Noetzli, Andrew Reynolds
4
 *
5
 * This file is part of the cvc5 project.
6
 *
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.
11
 * ****************************************************************************
12
 *
13
 * The parser class for the CVC language.
14
 */
15
16
#include "cvc5parser_private.h"
17
18
#ifndef CVC5__PARSER__CVC_H
19
#define CVC5__PARSER__CVC_H
20
21
#include "api/cpp/cvc5.h"
22
#include "parser/parser.h"
23
24
namespace cvc5 {
25
26
namespace parser {
27
28
1852
class Cvc : public Parser
29
{
30
  friend class ParserBuilder;
31
32
 public:
33
  void forceLogic(const std::string& logic) override;
34
35
  /** Updates name to the tester name of cons, e.g. "is_cons" */
36
  bool getTesterName(api::Term cons, std::string& name) override;
37
38
 protected:
39
926
  Cvc(api::Solver* solver,
40
      SymbolManager* sm,
41
      bool strictMode = false,
42
      bool parseOnly = false)
43
926
      : Parser(solver, sm, strictMode, parseOnly)
44
  {
45
926
  }
46
};
47
48
}  // namespace parser
49
}  // namespace cvc5
50
51
#endif /* CVC5__PARSER__CVC_H */