Public Member Functions | Public Attributes | Private Attributes
RTT::scripting::CommonParser Class Reference

This class contains some very common parser definitions. More...

#include <CommonParser.hpp>

List of all members.

Public Member Functions

 CommonParser ()
void seenillegalidentifier (iter_t begin, iter_t end)
 ~CommonParser ()

Public Attributes

lexeme_rule_t endofkeyword
chset identchar
rule_t identifier
lexeme_rule_t idlr
rule_t idr
lexeme_rule_t keyword
lexeme_rule_t keywords
symbols< nil_t > keywordstable
lexeme_rule_t lexeme_identifier
 plain 'C' identifier. Does not throw if keyword is parsed.
lexeme_rule_t lexeme_notassertingidentifier
 See identifier, but in lexeme parsing mode.
rule_t notassertingidentifier
 identifier with <template> marks in it
rule_t templ
 plain 'C' identifier. Throws if keyword is parsed.
rule_t tidentifier
 recursive template def.
rule_t type_name
 See notassertingidentifier, but in lexeme parsing mode.
rule_t eos
rule_t notassertingeos
lexeme_rule_t leos
bool skipeol
 Saves eol skipping state.
functor_parser< eol_skip_functor > skipper

Private Attributes

std::string lastparsedident

Detailed Description

This class contains some very common parser definitions.

Todo:
check the identifier parser implementation of asserting when a keyword is wrongly used as an identifier. In current implementation it almost never throws.

Definition at line 52 of file CommonParser.hpp.


Constructor & Destructor Documentation

Definition at line 53 of file CommonParser.cpp.

Definition at line 51 of file CommonParser.cpp.


Member Function Documentation

void RTT::CommonParser::seenillegalidentifier ( iter_t  begin,
iter_t  end 
)

Definition at line 137 of file CommonParser.cpp.


Member Data Documentation

Definition at line 61 of file CommonParser.hpp.

End Of Statement Parser. Identifies the end of a statement in Orocos scripting.

Definition at line 80 of file CommonParser.hpp.

Definition at line 57 of file CommonParser.hpp.

Definition at line 68 of file CommonParser.hpp.

Definition at line 67 of file CommonParser.hpp.

Definition at line 66 of file CommonParser.hpp.

Definition at line 61 of file CommonParser.hpp.

Definition at line 61 of file CommonParser.hpp.

Definition at line 59 of file CommonParser.hpp.

Definition at line 54 of file CommonParser.hpp.

Definition at line 82 of file CommonParser.hpp.

plain 'C' identifier. Does not throw if keyword is parsed.

Definition at line 72 of file CommonParser.hpp.

See identifier, but in lexeme parsing mode.

Definition at line 73 of file CommonParser.hpp.

Definition at line 81 of file CommonParser.hpp.

identifier with <template> marks in it

Definition at line 71 of file CommonParser.hpp.

Saves eol skipping state.

Definition at line 85 of file CommonParser.hpp.

functor_parser<eol_skip_functor> RTT::scripting::CommonParser::skipper

Definition at line 86 of file CommonParser.hpp.

plain 'C' identifier. Throws if keyword is parsed.

Definition at line 69 of file CommonParser.hpp.

recursive template def.

Definition at line 70 of file CommonParser.hpp.

See notassertingidentifier, but in lexeme parsing mode.

Definition at line 74 of file CommonParser.hpp.


The documentation for this class was generated from the following files:


rtt
Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:40