SILICON
Loading...
Searching...
No Matches
verilog.cpp File Reference
#include <ui/documents/code/codeSyntax.hpp>
#include <ui/documents/code/indentationUtils.hpp>
#include <array>
#include <regex>
#include <string>
Include dependency graph for verilog.cpp:

Go to the source code of this file.

Namespaces

namespace  SILICON
namespace  SILICON::ui

Functions

void addIndentLevel (std::string &indentation, const int indentWidth)
std::string codePortion (const std::string_view line, const std::regex &strippedPortions)
bool endsWithWord (const std::string_view value, const std::string_view word)
std::string leadingWhitespace (const std::string_view line)
bool regexSearch (const std::string_view value, const std::regex &expression)
void removeIndentLevel (std::string &indentation, const int indentWidth)
std::string_view trimLeft (std::string_view value)
std::string_view trimRight (std::string_view value)