Skip to content

cleaned up code#9

Merged
ASinanSaglam merged 3 commits into
RuleWorld:mainfrom
Nika-Z-8:main
Jun 6, 2022
Merged

cleaned up code#9
ASinanSaglam merged 3 commits into
RuleWorld:mainfrom
Nika-Z-8:main

Conversation

@Nika-Z-8
Copy link
Copy Markdown
Collaborator

@Nika-Z-8 Nika-Z-8 commented Jun 6, 2022

No description provided.

@ASinanSaglam ASinanSaglam merged commit 7fd79d8 into RuleWorld:main Jun 6, 2022
wshlavacek added a commit to wshlavacek/BNG_vscode_extension that referenced this pull request May 30, 2026
onReferences stripped comments with indexOf('#'), which misfires on a '#'
inside a quoted string and could hide a real reference. Reuse the parser's
string-aware stripComment (now exported) to compute the comment boundary.
Also document two existing heuristics: the last-token rate split in
parseRuleLine, and getEnclosingBlockType's reliance on doc.blocks being
ordered by close time so the innermost nested block is matched first.

Addresses PR RuleWorld#29 review finding RuleWorld#9.
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