Structures to describe the 'interesting' parts of a WESL source file.
The parts of the source that need to analyze further in the linker
are pulled out into these structures.
The parts that are uninteresting the the linker are recorded
as 'TextElem' nodes, which are generally just copied to the output WGSL
along with their containing element.
Structures to describe the 'interesting' parts of a WESL source file.
The parts of the source that need to analyze further in the linker are pulled out into these structures.
The parts that are uninteresting the the linker are recorded as 'TextElem' nodes, which are generally just copied to the output WGSL along with their containing element.