Orocos Real-Time Toolkit  2.6.0
Public Member Functions | Public Attributes
RTT::scripting::CommonParser Class Reference

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

#include <rtt/scripting/CommonParser.hpp>

List of all members.

Public Member Functions

void seenillegalidentifier ()

Public Attributes

chset identchar
symbols< nil_t > keywordstable
rule_t keyword
rule_t keywords
rule_t endofkeyword
rule_t idr
lexeme_rule_t idlr
rule_t identifier
rule_t templ
 plain 'C' identifier. Throws if keyword is parsed.
rule_t tidentifier
 recursive template def.
rule_t notassertingidentifier
 identifier with <template> marks in it
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 type_name
 See notassertingidentifier, but in lexeme parsing mode.
rule_t eos
 End Of Statement Parser.
rule_t notassertingeos
 End Of Statement Parser.
lexeme_rule_t leos
 End Of Statement Parser.
bool skipeol
 Saves eol skipping state.
functor_parser< eol_skip_functor > skipper
 End Of Statement Parser.

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.


Member Data Documentation

End Of Statement Parser.

Identifies the end of a statement in Orocos scripting.

Definition at line 80 of file CommonParser.hpp.

Referenced by RTT::scripting::StateGraphParser::StateGraphParser().

End Of Statement Parser.

Identifies the end of a statement in Orocos scripting.

Definition at line 82 of file CommonParser.hpp.

End Of Statement Parser.

Identifies the end of a statement in Orocos scripting.

Definition at line 81 of file CommonParser.hpp.

Referenced by RTT::scripting::ScriptParser::ScriptParser().

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 RTT::scripting::ScriptParser::parse(), and RTT::scripting::ProgramGraphParser::parse().


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