carl  24.04
Computer ARithmetic Library
parser.h File Reference
#include <boost/optional.hpp>
#include <boost/spirit/include/phoenix_bind.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/qi_parse.hpp>
#include "../typetraits.h"
Include dependency graph for parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  carl::parser::isDivisible< is_int >
 
struct  carl::parser::isDivisible< true >
 
struct  carl::parser::isDivisible< false >
 
struct  carl::parser::RationalPolicies< T >
 Specialization of qi::real_policies for our rational types. More...
 
struct  carl::parser::IntegerParser< T >
 Parses (signed) integers. More...
 
struct  carl::parser::DecimalParser< T >
 Parses decimals, including floating point and scientific notation. More...
 
struct  carl::parser::RationalParser< T, Iterator >
 Parses rationals, being two decimals separated by a slash. More...
 

Namespaces

 carl
 carl is the main namespace for the library.
 
 carl::parser
 

Macros

#define BOOST_SPIRIT_USE_PHOENIX_V3
 

Typedefs

using carl::parser::Skipper = qi::space_type
 

Functions

template<typename Parser , typename T >
bool carl::parser::parse_impl (const std::string &input, T &output)
 
template<typename Parser , typename T , typename S >
bool carl::parser::parse_impl (const std::string &input, T &output, const S &skipper)
 
template<typename T >
bool carl::parser::parseInteger (const std::string &input, T &output)
 
template<typename T >
bool carl::parser::parseDecimal (const std::string &input, T &output)
 
template<typename T >
bool carl::parser::parseRational (const std::string &input, T &output)
 

Macro Definition Documentation

◆ BOOST_SPIRIT_USE_PHOENIX_V3

#define BOOST_SPIRIT_USE_PHOENIX_V3

Definition at line 5 of file parser.h.