CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Public Attributes
reco::parser::Grammar Struct Reference

#include <Grammar.h>

Inheritance diagram for reco::parser::Grammar:

Classes

struct  definition
 

Public Member Functions

 Grammar (SelectorPtr &sel, const edm::TypeWithDict &iType, bool lazy=false)
 
 Grammar (ExpressionPtr &expr, const edm::TypeWithDict &iType, bool lazy=false)
 

Public Attributes

ComparisonStack cmpStack
 
ExpressionPtr dummyExpr_
 
SelectorPtr dummySel_
 
ExpressionPtrexpr_
 
ExpressionStack exprStack
 
FunctionStack finalFunStack
 
FunctionStack funStack
 
IntStack intStack
 
bool lazy_
 
LazyMethodStack lazyMethStack
 
MethodArgumentStack methArgStack
 
MethodStack methStack
 
SelectorPtrsel_
 
SelectorStack selStack
 
TypeStack typeStack
 

Detailed Description

Definition at line 44 of file Grammar.h.

Constructor & Destructor Documentation

◆ Grammar() [1/2]

reco::parser::Grammar::Grammar ( SelectorPtr sel,
const edm::TypeWithDict iType,
bool  lazy = false 
)
inline

Definition at line 60 of file Grammar.h.

References typeStack.

61  : sel_(&sel), expr_(&dummyExpr_), lazy_(lazy) {
62  typeStack.push_back(iType);
63  }
ExpressionPtr * expr_
Definition: Grammar.h:48
SelectorPtr * sel_
Definition: Grammar.h:47
ExpressionPtr dummyExpr_
Definition: Grammar.h:46
TypeStack typeStack
Definition: Grammar.h:57

◆ Grammar() [2/2]

reco::parser::Grammar::Grammar ( ExpressionPtr expr,
const edm::TypeWithDict iType,
bool  lazy = false 
)
inline

Definition at line 65 of file Grammar.h.

References typeStack.

66  : sel_(&dummySel_), expr_(&expr), lazy_(lazy) {
67  typeStack.push_back(iType);
68  }
ExpressionPtr * expr_
Definition: Grammar.h:48
SelectorPtr * sel_
Definition: Grammar.h:47
SelectorPtr dummySel_
Definition: Grammar.h:45
TypeStack typeStack
Definition: Grammar.h:57

Member Data Documentation

◆ cmpStack

ComparisonStack reco::parser::Grammar::cmpStack
mutable

Definition at line 51 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ dummyExpr_

ExpressionPtr reco::parser::Grammar::dummyExpr_

Definition at line 46 of file Grammar.h.

◆ dummySel_

SelectorPtr reco::parser::Grammar::dummySel_

Definition at line 45 of file Grammar.h.

◆ expr_

ExpressionPtr* reco::parser::Grammar::expr_

Definition at line 48 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ exprStack

ExpressionStack reco::parser::Grammar::exprStack
mutable

Definition at line 50 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ finalFunStack

FunctionStack reco::parser::Grammar::finalFunStack
mutable

Definition at line 53 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ funStack

FunctionStack reco::parser::Grammar::funStack
mutable

Definition at line 53 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ intStack

IntStack reco::parser::Grammar::intStack
mutable

Definition at line 58 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ lazy_

bool reco::parser::Grammar::lazy_

Definition at line 49 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ lazyMethStack

LazyMethodStack reco::parser::Grammar::lazyMethStack
mutable

Definition at line 55 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ methArgStack

MethodArgumentStack reco::parser::Grammar::methArgStack
mutable

Definition at line 56 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ methStack

MethodStack reco::parser::Grammar::methStack
mutable

Definition at line 54 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ sel_

SelectorPtr* reco::parser::Grammar::sel_

Definition at line 47 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ selStack

SelectorStack reco::parser::Grammar::selStack
mutable

Definition at line 52 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition().

◆ typeStack

TypeStack reco::parser::Grammar::typeStack
mutable

Definition at line 57 of file Grammar.h.

Referenced by reco::parser::Grammar::definition< ScannerT >::definition(), and Grammar().