$search

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 ()
 ~CommonParser ()

Public Attributes

rule_t endofkeyword
chset identchar
rule_t identifier
lexeme_rule_t idlr
rule_t idr
rule_t keyword
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
lexeme_rule_t leos
rule_t notassertingeos
bool skipeol
 Saves eol skipping state.
functor_parser< eol_skip_functorskipper

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

RTT::CommonParser::CommonParser (  ) 

Definition at line 50 of file CommonParser.cpp.

RTT::CommonParser::~CommonParser (  ) 

Definition at line 48 of file CommonParser.cpp.


Member Function Documentation

void RTT::CommonParser::seenillegalidentifier (  ) 

Definition at line 147 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.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Mar 1 16:27:52 2013