|
wiRedPanda
Logic Circuit Simulator
|
Shared string utilities used by all code generators. More...
#include <algorithm>#include <QRegularExpression>#include <QString>Go to the source code of this file.
Namespaces | |
| namespace | CodeGenUtils |
Functions | |
| QString | CodeGenUtils::removeForbiddenChars (const QString &input, const bool stripFirst=false) |
| Converts input into a legal language identifier. | |
| QString | CodeGenUtils::sanitizeComment (const QString &input) |
| Makes input safe to embed in a single-line "//" comment. | |
| QString | CodeGenUtils::stripAccents (const QString &input) |
| Strips Unicode diacritic marks (accents) from input using NFC → NFD decomposition. | |
Shared string utilities used by all code generators.
Definition in file CodeGenUtils.h.