P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
P4::MinimalNameGenerator Class Reference
Inheritance diagram for P4::MinimalNameGenerator:

Public Member Functions

 MinimalNameGenerator (const IR::Node *root)
 
cstring newName (cstring base) override
 Generate a name from base that does not appear in usedNames.
 
void usedName (cstring name)
 

Member Function Documentation

◆ newName()

cstring P4::MinimalNameGenerator::newName ( cstring base)
overridevirtual

Generate a name from base that does not appear in usedNames.

Implements P4::NameGenerator.