29 #ifndef INCLUDE_CFL_CFLGRAMGRAPHCHECKER_H_
30 #define INCLUDE_CFL_CFLGRAMGRAPHCHECKER_H_
61 graphBuilder->
getLabelToKindMap().insert(std::make_pair (pairV.first,pairV.second));
62 graphBuilder->
getKindToLabelMap().insert(std::make_pair (pairV.second, pairV.first));
void check(GrammarBase *grammar, CFLGraphBuilder *graphBuilder, CFLGraph *graph)
Map< Kind, std::string > & getKindToLabelMap()
Returns a reference to the map that associates Kinds with their corresponding string labels.
Map< std::string, Kind > & getLabelToKindMap()
Returns a reference to the map that associates string labels with their corresponding Kind.
Map< CFGrammar::Kind, Set< CFGrammar::Attribute > > & getKindToAttrsMap()
Returns a reference to the map that associates Kinds with their corresponding attributes.
Map< std::string, Kind > & getNonterminals()
void setKindToAttrsMap(const Map< Kind, Set< Attribute >> &kindToAttrsMap)
Map< std::string, Kind > & getTerminals()