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