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    

Dan Glastonbury
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-17 16:44:16 PDT
Dan Glastonbury
Comment 2 2022-10-17 16:45:52 PDT
EWS
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.