![]() |
ATLAS Offline Software
|
Public interface for the expression parsing facility. More...
#include <SelectionExprParser.h>
Public Member Functions | |
| SelectionExprParser (DetailSelectionExprParser::Lexer lexer, bool defaultToChar=false) | |
Constructor for the parser which accepts a Lecer. | |
| StatusCode | build (std::unique_ptr< ISelectionReadAccessor > &accessor) |
| Triggers the actual parsing of the expression. | |
Private Member Functions | |
| StatusCode | expression (std::unique_ptr< ISelectionReadAccessor > &root) |
| StatusCode | term (std::unique_ptr< ISelectionReadAccessor > &root) |
| StatusCode | factor (std::unique_ptr< ISelectionReadAccessor > &root) |
Private Attributes | |
| DetailSelectionExprParser::Lexer | m_lexer |
| DetailSelectionExprParser::Lexer::Symbol | m_symbol {} |
| bool | m_defaultToChar {} |
Public interface for the expression parsing facility.
Definition at line 80 of file SelectionExprParser.h.
| CP::SelectionExprParser::SelectionExprParser | ( | DetailSelectionExprParser::Lexer | lexer, |
| bool | defaultToChar = false ) |
Constructor for the parser which accepts a Lecer.
| lexer | The lexer to use for parsing |
Lexer can be auto-constructed from a string, so you can pass one directly. | defaultToChar | Assume "as_char" as default encoding |
Definition at line 90 of file SelectionExprParser.cxx.
| StatusCode CP::SelectionExprParser::build | ( | std::unique_ptr< ISelectionReadAccessor > & | accessor | ) |
Triggers the actual parsing of the expression.
| [out] | accessor | Unique pointer the resulting accessor will be written to. |
Definition at line 93 of file SelectionExprParser.cxx.
|
private |
Definition at line 107 of file SelectionExprParser.cxx.
|
private |
Definition at line 139 of file SelectionExprParser.cxx.
|
private |
Definition at line 120 of file SelectionExprParser.cxx.
|
private |
Definition at line 107 of file SelectionExprParser.h.
|
private |
Definition at line 103 of file SelectionExprParser.h.
|
private |
Definition at line 105 of file SelectionExprParser.h.