slang::SourceBuffer struct

Contents

Represents a source buffer; that is, the actual text of the source code along with an identifier for the buffer which potentially encodes its include stack.

Public variables

string_view data
A view into the text comprising the buffer.
BufferID id
The ID assigned to the buffer.