slang::SourceSnippet class

Utility functions to generate highlighted source snippets.

Public functions

std::string getSnippetLine()
Gets the source snippet line.
std::string getHighlightLine()
Gets the highlighted line.