37 #ifndef COMMONPARSER_HPP 38 #define COMMONPARSER_HPP 41 #include "../rtt-config.h" 43 namespace RTT {
namespace scripting
98 # define keyword_p(word) (lexeme_d[ str_p(word) >> eps_p(~chset_p("a-zA-Z_0-9") | eol_p | end_p ) ])
rule_t tidentifier
recursive template def.
bool skipeol
Saves eol skipping state.
symbols< nil_t > keywordstable
lexeme_rule_t lexeme_notassertingidentifier
See identifier, but in lexeme parsing mode.
This class contains some very common parser definitions.
rule_t type_name
See notassertingidentifier, but in lexeme parsing mode.
functor_parser< eol_skip_functor > skipper
lexeme_rule_t lexeme_identifier
plain 'C' identifier. Does not throw if keyword is parsed.
std::string lastparsedident
rule_t templ
plain 'C' identifier. Throws if keyword is parsed.
rule< lexeme_scanner< scanner_t >::type > lexeme_rule_t
rule_t notassertingidentifier
identifier with <template> marks in it
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.