Orocos Real-Time Toolkit
2.9.0
|
This class contains some very common parser definitions. More...
#include <rtt/scripting/CommonParser.hpp>
Public Member Functions | |
CommonParser () | |
~CommonParser () | |
void | seenillegalidentifier (iter_t begin, iter_t end) |
Public Attributes | |
chset | identchar |
symbols< nil_t > | keywordstable |
lexeme_rule_t | keyword |
lexeme_rule_t | keywords |
lexeme_rule_t | endofkeyword |
rule_t | idr |
lexeme_rule_t | idlr |
rule_t | identifier |
rule_t | templ |
plain 'C' identifier. Throws if keyword is parsed. More... | |
rule_t | tidentifier |
recursive template def. More... | |
rule_t | notassertingidentifier |
identifier with <template> marks in it More... | |
lexeme_rule_t | lexeme_identifier |
plain 'C' identifier. Does not throw if keyword is parsed. More... | |
lexeme_rule_t | lexeme_notassertingidentifier |
See identifier, but in lexeme parsing mode. More... | |
rule_t | type_name |
See notassertingidentifier, but in lexeme parsing mode. More... | |
rule_t | eos |
End Of Statement Parser. More... | |
rule_t | notassertingeos |
End Of Statement Parser. More... | |
lexeme_rule_t | leos |
End Of Statement Parser. More... | |
bool | skipeol |
Saves eol skipping state. More... | |
functor_parser< eol_skip_functor > | skipper |
End Of Statement Parser. More... | |
This class contains some very common parser definitions.
Definition at line 52 of file CommonParser.hpp.
RTT::CommonParser::CommonParser | ( | ) |
Definition at line 53 of file CommonParser.cpp.
References endofkeyword, eos, identchar, identifier, idlr, idr, keyword, keywords, keywordstable, leos, lexeme_identifier, lexeme_notassertingidentifier, notassertingeos, notassertingidentifier, seenillegalidentifier(), skipper, templ, tidentifier, and type_name.
RTT::CommonParser::~CommonParser | ( | ) |
Definition at line 51 of file CommonParser.cpp.
Definition at line 137 of file CommonParser.cpp.
Referenced by CommonParser().
lexeme_rule_t RTT::scripting::CommonParser::endofkeyword |
Definition at line 61 of file CommonParser.hpp.
Referenced by CommonParser().
rule_t RTT::scripting::CommonParser::eos |
End Of Statement Parser.
Identifies the end of a statement in Orocos scripting.
Definition at line 80 of file CommonParser.hpp.
Referenced by CommonParser(), RTT::scripting::StateGraphParser::StateGraphParser(), and RTT::scripting::ProgramGraphParser::~ProgramGraphParser().
chset RTT::scripting::CommonParser::identchar |
Definition at line 57 of file CommonParser.hpp.
Referenced by CommonParser(), and RTT::scripting::ExpressionParser::ExpressionParser().
rule_t RTT::scripting::CommonParser::identifier |
Definition at line 68 of file CommonParser.hpp.
Referenced by CommonParser(), RTT::scripting::DataCallParser::DataCallParser(), RTT::scripting::ExpressionParser::ExpressionParser(), RTT::scripting::StateGraphParser::StateGraphParser(), RTT::scripting::ValueChangeParser::ValueChangeParser(), RTT::scripting::ValueParser::ValueParser(), and RTT::scripting::ProgramGraphParser::~ProgramGraphParser().
lexeme_rule_t RTT::scripting::CommonParser::idlr |
Definition at line 67 of file CommonParser.hpp.
Referenced by CommonParser().
rule_t RTT::scripting::CommonParser::idr |
Definition at line 66 of file CommonParser.hpp.
Referenced by CommonParser().
lexeme_rule_t RTT::scripting::CommonParser::keyword |
Definition at line 61 of file CommonParser.hpp.
Referenced by CommonParser(), RTT::scripting::DataCallParser::DataCallParser(), and RTT::scripting::ExpressionParser::ExpressionParser().
lexeme_rule_t RTT::scripting::CommonParser::keywords |
Definition at line 61 of file CommonParser.hpp.
Referenced by CommonParser().
symbols<nil_t> RTT::scripting::CommonParser::keywordstable |
Definition at line 59 of file CommonParser.hpp.
Referenced by CommonParser().
lexeme_rule_t RTT::scripting::CommonParser::leos |
End Of Statement Parser.
Identifies the end of a statement in Orocos scripting.
Definition at line 82 of file CommonParser.hpp.
Referenced by CommonParser().
lexeme_rule_t RTT::scripting::CommonParser::lexeme_identifier |
plain 'C' identifier. Does not throw if keyword is parsed.
Definition at line 72 of file CommonParser.hpp.
Referenced by CommonParser().
lexeme_rule_t RTT::scripting::CommonParser::lexeme_notassertingidentifier |
See identifier, but in lexeme parsing mode.
Definition at line 73 of file CommonParser.hpp.
Referenced by CommonParser().
rule_t RTT::scripting::CommonParser::notassertingeos |
End Of Statement Parser.
Identifies the end of a statement in Orocos scripting.
Definition at line 81 of file CommonParser.hpp.
Referenced by CommonParser(), and RTT::scripting::ScriptParser::ScriptParser().
rule_t RTT::scripting::CommonParser::notassertingidentifier |
identifier with <template> marks in it
Definition at line 71 of file CommonParser.hpp.
Referenced by CommonParser(), RTT::scripting::PeerParser::PeerParser(), RTT::scripting::PropertyParser::PropertyParser(), and RTT::scripting::ProgramGraphParser::~ProgramGraphParser().
bool RTT::scripting::CommonParser::skipeol |
Saves eol skipping state.
Definition at line 85 of file CommonParser.hpp.
Referenced by RTT::scripting::ExpressionParser::ExpressionParser(), RTT::scripting::ProgramGraphParser::parserUsed(), RTT::scripting::StateGraphParser::StateGraphParser(), and RTT::scripting::StateGraphParser::~StateGraphParser().
functor_parser<eol_skip_functor> RTT::scripting::CommonParser::skipper |
End Of Statement Parser.
Identifies the end of a statement in Orocos scripting.
Definition at line 86 of file CommonParser.hpp.
Referenced by CommonParser(), RTT::scripting::ScriptParser::parse(), RTT::scripting::ProgramGraphParser::parse(), RTT::scripting::StateGraphParser::parse(), and RTT::scripting::ProgramGraphParser::parseFunction().
rule_t RTT::scripting::CommonParser::templ |
plain 'C' identifier. Throws if keyword is parsed.
Definition at line 69 of file CommonParser.hpp.
Referenced by CommonParser().
rule_t RTT::scripting::CommonParser::tidentifier |
recursive template def.
Definition at line 70 of file CommonParser.hpp.
Referenced by CommonParser(), and RTT::scripting::DataCallParser::DataCallParser().
rule_t RTT::scripting::CommonParser::type_name |
See notassertingidentifier, but in lexeme parsing mode.
Definition at line 74 of file CommonParser.hpp.
Referenced by CommonParser(), and RTT::scripting::ConstructorParser::ConstructorParser().