Orocos Real-Time Toolkit  2.9.0
Classes | Namespaces | Macros | Typedefs
parser-types.hpp File Reference
#include "rtt-scripting-config.h"
#include <boost/version.hpp>
#include <boost/spirit.hpp>
#include "../base/ActionInterface.hpp"
#include "rtt-scripting-fwd.hpp"

Go to the source code of this file.

Classes

struct  RTT::scripting::eol_skip_functor
 Due to a bug in MSVC 2005, the operator() ends up with a null reference of the skipeol member Tried several workarounds, could not find one, except turning off optimization for this function. More...
 

Namespaces

 RTT
 Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
 
 RTT::scripting
 Parser code for the Orocos real-time scripting language.
 

Macros

#define SKIP_PARSER
 When using this macro, you must have a boolean variable skipref defined. More...
 

Typedefs

typedef std::string RTT::scripting::our_buffer_t
 
typedef our_buffer_t::iterator RTT::scripting::our_iterator_t
 
typedef position_iterator< our_iterator_t > RTT::scripting::our_pos_iter_t
 
typedef our_pos_iter_t RTT::scripting::iter_t
 
typedef boost_spirit::alternative< boost_spirit::alternative< boost_spirit::alternative< boost_spirit::alternative< boost_spirit::confix_parser< boost_spirit::impl::string_as_parser::type, boost_spirit::kleene_star< boost_spirit::anychar_parser >, boost_spirit::alternative< boost_spirit::eol_parser, boost_spirit::end_parser >, boost_spirit::unary_parser_category, boost_spirit::non_nested, boost_spirit::is_lexeme >, boost_spirit::confix_parser< boost_spirit::impl::string_as_parser::type, boost_spirit::kleene_star< boost_spirit::anychar_parser >, boost_spirit::alternative< boost_spirit::eol_parser, boost_spirit::end_parser >, boost_spirit::unary_parser_category, boost_spirit::non_nested, boost_spirit::is_lexeme > >, boost_spirit::confix_parser< boost_spirit::impl::string_as_parser::type, boost_spirit::kleene_star< boost_spirit::anychar_parser >, boost_spirit::impl::string_as_parser::type, boost_spirit::unary_parser_category, boost_spirit::non_nested, boost_spirit::is_lexeme > >, boost_spirit::difference< boost_spirit::space_parser, boost_spirit::eol_parser > >, boost_spirit::functor_parser< eol_skip_functor > > RTT::scripting::skip_parser_t
 
typedef skip_parser_iteration_policy< skip_parser_t > RTT::scripting::iter_pol_t
 
typedef scanner_policies< iter_pol_t > RTT::scripting::scanner_pol_t
 
typedef scanner< iter_t, scanner_pol_t > RTT::scripting::scanner_t
 
typedef rule< scanner_t > RTT::scripting::rule_t
 
typedef stored_rule< scanner_t > RTT::scripting::stored_rule_t
 
typedef rule< lexeme_scanner< scanner_t >::type > RTT::scripting::lexeme_rule_t
 

Macro Definition Documentation

#define SKIP_PARSER
Value:
( comment_p( "#" ) | comment_p( "//" ) | \
comment_p( "/*", "*/" ) | (space_p - eol_p) | functor_parser<eol_skip_functor>( eol_skip_functor(skipref) ) )

When using this macro, you must have a boolean variable skipref defined.

which is initialized to true.

Definition at line 128 of file parser-types.hpp.

Referenced by RTT::scripting::Parser::parseCondition(), RTT::scripting::Parser::parseExpression(), and RTT::scripting::Parser::parseValueStatement().