Bug 246660

Summary: [WGSL] AST Visitor helper
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: WebGPUAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 246558    

Description Dan Glastonbury 2022-10-17 16:40:30 PDT
Many analysis passes in the compiler need to work with the subtrees of the
AST. AST::Visitor provides the boilerplate for performing a preorder traversal
of an AST; analyzers derived from AST::Visitor can override visit methods for
just the kinds of nodes for its task.
Comment 1 Radar WebKit Bug Importer 2022-10-17 16:44:16 PDT
<rdar://problem/101268329>
Comment 2 Dan Glastonbury 2022-10-17 16:45:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5468
Comment 3 EWS 2022-10-19 02:19:53 PDT
Committed 255725@main (bbdc3617fa55): <https://commits.webkit.org/255725@main>

Reviewed commits have been landed. Closing PR #5468 and removing active labels.