slang::SourceSnippet class

Utility functions to generate highlighted source snippets.

Public functions

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