P4C
The P4 Compiler
|
Public Member Functions | |
CodeBuilder (const Target *target) | |
Public Member Functions inherited from P4::Util::SourceCodeBuilder | |
void | append (char c) |
void | append (const char *str) |
void | append (const std::string &str) |
void | append (cstring str) |
void | append (int u) |
void | append (unsigned u) |
template<typename... Args> | |
void | appendFormat (const absl::FormatSpec< Args... > &format, Args &&...args) |
void | appendLine (const char *str) |
void | appendLine (cstring str) |
void | blockEnd (bool nl) |
void | blockStart () |
void | commentEnd () |
void | commentStart () |
void | decreaseIndent () |
void | emitIndent () |
void | endOfStatement (bool addNl=false) |
void | increaseIndent () |
bool | lastIsSpace () const |
void | newline () |
void | spc () |
void | supressStatementSemi () |
std::string | toString () const |
Public Attributes | |
const Target * | target |