Feature Request: Provide endLine and endColumn for objects, arrays and values
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- tooling
調査の方向性
Issue で名前が挙げられている JSONVisitor コールバック、onObjectEnd、onArrayEnd、onLiteralValue から始めます。パーサーが現在、開始行と開始列の値をどのように追跡して報告しているかを確認し、対応するオブジェクト、配列、リテラルの完了パスをたどります。各コールバックが、要求された JSON 要素について正確な終了行と終了列の値を受け取れば完了です。
索引モデルが issue の本文から書いたものです。
説明
I would like to get the line and column an object, array or value ends to be able to get the object at a specific location (line and column) in a document. I have a text based search and would want to get the object at the search location.
It would be awesome if the end line and end column would be provided in the visitor functions in the same ways as the start line and column:
jsoncParser.JSONVisitor.onObjectEnd
jsoncParser.JSONVisitor.onArrayEnd
jsoncParser.JSONVisitor.onLiteralValue
- 主要言語
- TypeScript
- スター
- 759
- フォーク
- 66
- 平均マージ
- 5日 10時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/node-jsonc-parser のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
microsoft/node-jsonc-parser#125 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
microsoft/node-jsonc-parser#105 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoft/node-jsonc-parser#103 · コメント 2 件 · リアクション 8 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
microsoft/node-jsonc-parser#97 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/node-jsonc-parser#95 · リアクション 1 件 ·
microsoft/node-jsonc-parser の issue をすべて見る
似ている issue
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
-
code-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
langchain-ai/deepagents#6450 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
vercel/react-tweet#225 ·