jdl_grammar.hpp File Reference

#include "defs.hpp"
#include <boost/spirit/core.hpp>
#include <boost/spirit/attribute.hpp>
#include <boost/spirit/actor/push_back_actor.hpp>
#include <boost/spirit/error_handling/exceptions.hpp>
#include <boost/spirit/utility/confix.hpp>
#include <jdl_parser/tree.hpp>
#include <jdl_parser/utils.hpp>

Include dependency graph for jdl_grammar.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jdl
namespace  boost::spirit

Classes

struct  jdl::push< node_type >
struct  jdl::push_leaf< node_type >
struct  jdl::new_ar
struct  jdl::reduce
struct  jdl::discard
struct  jdl::discard_ar
struct  jdl::jdl_grammar
struct  jdl::jdl_grammar::definition< ScannerT >

Defines

#define BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE
#define BOOST_SPIRIT_ASSERT_EXCEPTION

Enumerations

enum  jdl::Errors {
  jdl::attribute_expected, jdl::expr_expected, jdl::attrname_expected, jdl::semicolon_expected,
  jdl::colon_expected, jdl::right_quad_par_expected, jdl::right_round_par_expected, jdl::right_graph_par_expected,
  jdl::question_mark_expected, jdl::left_round_par_expected
}

Functions

assertion< Errors > jdl::expect_attribute (attribute_expected)
assertion< Errors > jdl::expect_expr (expr_expected)
assertion< Errors > jdl::expect_attrname (expect_attrname)
assertion< Errors > jdl::expect_semicolon (semicolon_expected)
assertion< Errors > jdl::expect_colon (colon_expected)
assertion< Errors > jdl::expect_right_quad_par (right_quad_par_expected)
assertion< Errors > jdl::expect_right_round_par (right_round_par_expected)
assertion< Errors > jdl::expect_right_graph_par (right_graph_par_expected)
assertion< Errors > jdl::expect_question_mark (question_mark_expected)
assertion< Errors > jdl::expect_left_round_par (left_round_par_expected)
void jdl::create (attribute_definition_node &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create (conditional_expr &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create (binary_expr_node &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create (bracket_node &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create (dot_node &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create (term_node &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create (list_node &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create (func_call_node &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create (unary_expr_node &node, parser_stack< boost::shared_ptr< component > > &stack)
void jdl::create_activation_record (parser_stack< boost::shared_ptr< component > > &node_stack)
void jdl::reduce_stack (parser_stack< boost::shared_ptr< component > > &node_stack)
void jdl::discard_activation_record (parser_stack< boost::shared_ptr< component > > &node_stack)

Variables

guard< Errors > jdl::expr_guard


Define Documentation

#define BOOST_SPIRIT_ASSERT_EXCEPTION

Definition at line 24 of file jdl_grammar.hpp.

#define BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE

Definition at line 23 of file jdl_grammar.hpp.


Generated on Sun Feb 17 16:55:24 2008 for JDLParser by  doxygen 1.5.3