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 (ExpressionPtr &expr, const edm::TypeWithDict &iType, bool lazy=false)
 
 Grammar (SelectorPtr &sel, 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 45 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 61 of file Grammar.h.

62  : sel_(&sel), expr_(&dummyExpr_), lazy_(lazy) {
63  typeStack.push_back(iType);
64  }

References typeStack.

◆ Grammar() [2/2]

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

Definition at line 66 of file Grammar.h.

67  : sel_(&dummySel_), expr_(&expr), lazy_(lazy) {
68  typeStack.push_back(iType);
69  }

References typeStack.

Member Data Documentation

◆ cmpStack

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

Definition at line 52 of file Grammar.h.

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

◆ dummyExpr_

ExpressionPtr reco::parser::Grammar::dummyExpr_

Definition at line 47 of file Grammar.h.

◆ dummySel_

SelectorPtr reco::parser::Grammar::dummySel_

Definition at line 46 of file Grammar.h.

◆ expr_

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

Definition at line 49 of file Grammar.h.

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

◆ exprStack

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

Definition at line 51 of file Grammar.h.

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

◆ finalFunStack

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

Definition at line 54 of file Grammar.h.

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

◆ funStack

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

Definition at line 54 of file Grammar.h.

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

◆ intStack

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

Definition at line 59 of file Grammar.h.

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

◆ lazy_

bool reco::parser::Grammar::lazy_

Definition at line 50 of file Grammar.h.

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

◆ lazyMethStack

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

Definition at line 56 of file Grammar.h.

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

◆ methArgStack

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

Definition at line 57 of file Grammar.h.

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

◆ methStack

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

Definition at line 55 of file Grammar.h.

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

◆ sel_

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

Definition at line 48 of file Grammar.h.

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

◆ selStack

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

Definition at line 53 of file Grammar.h.

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

◆ typeStack

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

Definition at line 58 of file Grammar.h.

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

reco::parser::Grammar::dummyExpr_
ExpressionPtr dummyExpr_
Definition: Grammar.h:47
reco::parser::Grammar::expr_
ExpressionPtr * expr_
Definition: Grammar.h:49
reco::parser::Grammar::typeStack
TypeStack typeStack
Definition: Grammar.h:58
reco::parser::Grammar::sel_
SelectorPtr * sel_
Definition: Grammar.h:48
reco::parser::Grammar::dummySel_
SelectorPtr dummySel_
Definition: Grammar.h:46
jets_cff.expr
expr
Definition: jets_cff.py:489
reco::parser::Grammar::lazy_
bool lazy_
Definition: Grammar.h:50
EgammaValidation_Wenu_cff.sel
sel
Definition: EgammaValidation_Wenu_cff.py:33