Skip to content

feat: add new apis for linter#30

Merged
tanzaku merged 14 commits into
mainfrom
feat/new-apis-for-linter
May 26, 2026
Merged

feat: add new apis for linter#30
tanzaku merged 14 commits into
mainfrom
feat/new-apis-for-linter

Conversation

@lemonadern

@lemonadern lemonadern commented Oct 23, 2025

Copy link
Copy Markdown
Collaborator

tree-sitter module にいくつかのAPIを追加しました。
future-architect/uroborosql-fmt#215 における利用を想定したものです。

tree-sitter like API

  • Node::children
  • Node::prev_sibling
  • Cursor::goto_prev_sibling

cstree の機能のラッパー

その他

  • Range::extended_by
  • Range::is_adjacent

@lemonadern lemonadern force-pushed the feat/new-apis-for-linter branch from 456d1aa to 8065819 Compare November 13, 2025 07:25
@lemonadern lemonadern changed the title feat: add new api (Node::children and Range::extended_by) feat: add new apis for linter Apr 9, 2026
@lemonadern lemonadern force-pushed the feat/new-apis-for-linter branch from cb10def to 06c5455 Compare April 9, 2026 04:43
@lemonadern lemonadern marked this pull request as ready for review April 20, 2026 06:09
@lemonadern lemonadern requested review from ppputtyo and tanzaku May 25, 2026 08:51
Comment thread crates/postgresql-cst-parser/src/tree_sitter.rs Outdated
Comment thread crates/postgresql-cst-parser/src/tree_sitter.rs Outdated
@lemonadern lemonadern requested a review from tanzaku May 25, 2026 09:49
@lemonadern lemonadern force-pushed the feat/new-apis-for-linter branch from 9b9ed23 to 787a184 Compare May 25, 2026 09:54
Comment thread crates/postgresql-cst-parser/src/tree_sitter.rs
Comment thread crates/postgresql-cst-parser/src/tree_sitter.rs
@lemonadern lemonadern requested a review from ppputtyo May 26, 2026 05:39
@tanzaku tanzaku merged commit 358ee8a into main May 26, 2026
2 checks passed
@lemonadern lemonadern deleted the feat/new-apis-for-linter branch May 26, 2026 06:42
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.

3 participants