28 static std::map<cstring, ExternConverter *> *cvtForType;
34 const IR::MethodCallExpression *mc,
35 const IR::StatOrDecl *s,
const bool &emitExterns);
37 const IR::ExternBlock *eb,
const bool &emitExterns);
40 const IR::MethodCallExpression *mc,
41 const IR::StatOrDecl *s,
const bool emitExterns);
44 static ExternConverter *get(
const IR::Type_Extern *type) {
return get(type->name); }
45 static ExternConverter *get(
const IR::ExternBlock *eb) {
return get(eb->type); }
48 return get(em->originalExternType->name);
52 const IR::MethodCallExpression *mc,
const IR::StatOrDecl *s,
53 const bool &emitExterns);
55 const IR::ExternBlock *eb,
const bool &emitExterns);
57 const IR::MethodCallExpression *mc,
58 const IR::StatOrDecl *s,
const bool emitExterns);
61 void modelError(
const char *format,
const IR::Node *place)
const;
69 const IR::MethodCallExpression *methodCall,
Definition bmv2/common/helpers.h:297