Skip to content

docs(ast): align examples with current APIs - #1285

Merged
camc314 merged 3 commits into
oxc-project:mainfrom
jong-kyung:docs/refresh-ast-guide
Sep 2, 2026
Merged

docs(ast): align examples with current APIs#1285
camc314 merged 3 commits into
oxc-project:mainfrom
jong-kyung:docs/refresh-ast-guide

Conversation

@jong-kyung

Copy link
Copy Markdown
Contributor

Update the remaining AST documentation examples to match the current Oxc APIs.

  • Use the current parser and AST node structures.
  • Replace legacy AstBuilder methods with generated Expression::new_* methods.
  • Update mutable visitor examples to use the current VisitMut and walk_mut signatures.
  • Align node attributes, enum layout, semantic metadata, and GetSpan examples with their implementations.

The examples were verified against:

@netlify

netlify Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploy Preview for oxc-project ready!

Name Link
🔨 Latest commit 03e0dd6
🔍 Latest deploy log https://app.netlify.com/projects/oxc-project/deploys/6a97bc5b4847b50007c901b6
😎 Deploy Preview https://deploy-preview-1285--oxc-project.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-02T06:10:01.207510Z 03e0dd6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jong-kyung jong-kyung changed the title docs(ast): align examples with current APIS docs(ast): align examples with current APIs Sep 2, 2026
@camc314
camc314 merged commit 368b5d3 into oxc-project:main Sep 2, 2026
6 checks passed
@jong-kyung
jong-kyung deleted the docs/refresh-ast-guide branch September 2, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants