carl  24.04
Computer ARithmetic Library
ExpressionParserResult.h
Go to the documentation of this file.
1 /*
2  * ExpressionParserResult.h
3  * Declares the result type of the ExpressionParser, which is used by
4  * at least the Python modules.
5  *
6  * Created on: 14 Apr 2016
7  * Author: hbruintjes
8  */
9 
10 #pragma once
11 
12 #include <string>
13 #include <boost/variant/variant.hpp>
14 
20 
21 namespace carl::io {
22 namespace parser {
23 
24 template<typename Pol>
25 using ExpressionType = boost::variant< typename Pol::CoeffType, carl::Variable, carl::Monomial::Arg,
28 
29 }
30 }
MultivariatePolynomial< Rational > Pol
Definition: HornerTest.cpp:17
boost::variant< typename Pol::CoeffType, carl::Variable, carl::Monomial::Arg, carl::Term< typename Pol::CoeffType >, Pol, RationalFunction< Pol >, carl::Formula< Pol > > ExpressionType
A Variable represents an algebraic variable that can be used throughout carl.
Definition: Variable.h:85
std::shared_ptr< const Monomial > Arg
Definition: Monomial.h:62
Represents a single term, that is a numeric coefficient and a monomial.
Definition: Term.h:23
Represent an SMT formula, which can be an atom for some background theory or a boolean combination of...
Definition: Formula.h:47