|
Gaudi Framework, version v21r11 |
| Home | Generated: 30 Sep 2010 |
#include <ParserGrammar.h>
Public Member Functions | |
| ValueGrammar () | |
| void | matchBrace (bool isopen) const |
| Action called when brace is matched. | |
| void | matchVectorValue (std::string value) const |
| Action called when vector value matched. | |
| void | matchValue (std::string value) const |
| Action called when right side of '=' top value is matched. | |
| Parser * | parser () const |
| Pointer to parser. | |
| void | setParser (Parser *parser) |
| Set poinet to parser. | |
Private Attributes | |
| Parser * | m_parser |
Classes | |
| struct | definition |
Grammar's EBNF value ::= vectorvalue | vector_type | property_link. vectorvalue ::= pairvalue | literalvalue | mapvalue. literalvalue ::= realunits_grammar | boolean_grammar | string_grammar. mapvalue ::= literalvalue ('=' | ':') value. pairvalue ::= '(' vectorvalue ',' vectorvalue ')'. vector_type ::= ('{' vectorvalue_list '}') | ('[' vectorvalue_list ']'). vectorvalue_list ::= (vector_value (',' vector_value)*)?. property_link = '@' identifier_grammar ('.' identifier_grammar)+.
Grammar has two attributes
Gaudi::Parsers::BoolGrammar for boolean_grammar
Gaudi::Parsers::StringGrammar for string_grammar
Gaudi::Parsers::IdentifierGrammar for identifier_grammar
Definition at line 321 of file ParserGrammar.h.
| Gaudi::Parsers::ValueGrammar::ValueGrammar | ( | ) | [inline] |
| void Gaudi::Parsers::ValueGrammar::matchBrace | ( | bool | isopen | ) | const [inline] |
Action called when brace is matched.
| isopen | true - if this is '{' or '[' brase, false - '}' or ']' |
Definition at line 331 of file ParserGrammar.h.
| void Gaudi::Parsers::ValueGrammar::matchVectorValue | ( | std::string | value | ) | const [inline] |
Action called when vector value matched.
| value | string representation of value |
Definition at line 340 of file ParserGrammar.h.
| void Gaudi::Parsers::ValueGrammar::matchValue | ( | std::string | value | ) | const [inline] |
Action called when right side of '=' top value is matched.
| value | string representation of value |
Definition at line 347 of file ParserGrammar.h.
| Parser* Gaudi::Parsers::ValueGrammar::parser | ( | ) | const [inline] |
| void Gaudi::Parsers::ValueGrammar::setParser | ( | Parser * | parser | ) | [inline] |
Parser* Gaudi::Parsers::ValueGrammar::m_parser [private] |
Definition at line 437 of file ParserGrammar.h.