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

#include <ExpressionParser.hpp>

List of all members.

Public Member Functions

 DataCallParser (ExpressionParser &p, CommonParser &cp, TaskContext *pc, ExecutionEngine *caller)
boost::shared_ptr
< base::AttributeBase
getParseHandle ()
base::DataSourceBasegetParseResult ()
rule_t & parser ()
 ~DataCallParser ()

Private Member Functions

void seendatacall ()
void seendataname ()
void seenmethodname (iter_t begin, iter_t end)
void seenobjectname (iter_t begin, iter_t end)
void seensend ()

Private Attributes

std::stack< ArgumentsParser * > argparsers
rule_t arguments
CommonParsercommonparser
rule_t datacall
ExpressionParserexpressionparser
ExecutionEnginemcaller
rule_t method
boost::shared_ptr
< base::AttributeBase
mhandle
bool mis_send
std::string mmethod
std::string mobject
rule_t object
PeerParser peerparser
rule_t peerpath
base::DataSourceBase::shared_ptr ret

Detailed Description

This parser parses a call of the form "a.b( arg1, arg2, ..., argN )".

Todo:
check why lexeme_d[] is used in implementation, thus why datacalls are parsed on the character level instead of on the phrase level. (probably for the dots ?)

Definition at line 65 of file ExpressionParser.hpp.


Constructor & Destructor Documentation

Definition at line 79 of file ExpressionParser.cpp.

Definition at line 250 of file ExpressionParser.cpp.


Member Function Documentation

Definition at line 98 of file ExpressionParser.hpp.

Definition at line 94 of file ExpressionParser.hpp.

Definition at line 89 of file ExpressionParser.hpp.

Definition at line 188 of file ExpressionParser.cpp.

Definition at line 129 of file ExpressionParser.cpp.

void RTT::DataCallParser::seenmethodname ( iter_t  begin,
iter_t  end 
) [private]

Definition at line 115 of file ExpressionParser.cpp.

void RTT::DataCallParser::seenobjectname ( iter_t  begin,
iter_t  end 
) [private]

Definition at line 109 of file ExpressionParser.cpp.

void RTT::DataCallParser::seensend ( ) [private]

Definition at line 105 of file ExpressionParser.cpp.


Member Data Documentation

Definition at line 84 of file ExpressionParser.hpp.

Definition at line 74 of file ExpressionParser.hpp.

Definition at line 81 of file ExpressionParser.hpp.

Definition at line 74 of file ExpressionParser.hpp.

Definition at line 82 of file ExpressionParser.hpp.

Definition at line 71 of file ExpressionParser.hpp.

Definition at line 74 of file ExpressionParser.hpp.

Definition at line 68 of file ExpressionParser.hpp.

Definition at line 72 of file ExpressionParser.hpp.

Definition at line 70 of file ExpressionParser.hpp.

Definition at line 69 of file ExpressionParser.hpp.

Definition at line 74 of file ExpressionParser.hpp.

Definition at line 83 of file ExpressionParser.hpp.

Definition at line 74 of file ExpressionParser.hpp.

Definition at line 67 of file ExpressionParser.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Thu Jan 2 2014 11:35:45