Update copyrights.
[cvc5.git] / src / util / sexpr.cpp
1 /********************* */
2 /*! \file sexpr.cpp
3 ** \verbatim
4 ** Original author: Morgan Deters
5 ** Major contributors: none
6 ** Minor contributors (to current version): none
7 ** This file is part of the CVC4 project.
8 ** Copyright (c) 2009-2014 New York University and The University of Iowa
9 ** See the file COPYING in the top-level source directory for licensing
10 ** information.\endverbatim
11 **
12 ** \brief Simple representation of S-expressions
13 **
14 ** Simple representation of S-expressions.
15 **/
16
17 #include <iostream>
18 #include <vector>
19
20 #include "util/sexpr.h"
21 #include "util/cvc4_assert.h"
22 #include "printer/printer.h"
23 #include "expr/expr.h"
24
25 namespace CVC4 {
26
27 std::ostream& operator<<(std::ostream& out, const SExpr& sexpr) {
28 Printer::getPrinter(Expr::setlanguage::getLanguage(out))->toStream(out, sexpr);
29 return out;
30 }
31
32 }/* CVC4 namespace */