Skip to content

Rename *_val contexts to *_var#75

Merged
saki7 merged 2 commits intoboostorg:developfrom
saki7:refine-context-naming
Oct 21, 2025
Merged

Rename *_val contexts to *_var#75
saki7 merged 2 commits intoboostorg:developfrom
saki7:refine-context-naming

Conversation

@saki7
Copy link
Collaborator

@saki7 saki7 commented Oct 21, 2025

Part of #1
Follow-up for #73

This PR syncs the naming scheme for action contexts. The new naming originated from the introduction of _local_var in #73, where the name "local var" is carefully chosen to reflect the fact that it points to "local variable", not "local value".

The same should apply to all other existing contexts.

Before:

  • _val
  • _as_val
  • _local_var

After:

  • _rule_var
    • _val (with [[deprecated]]) still provided for backward compatibility.
  • _as_var
  • _local_var

@saki7 saki7 self-assigned this Oct 21, 2025
@saki7 saki7 added the enhancement New feature or request label Oct 21, 2025
@saki7 saki7 marked this pull request as ready for review October 21, 2025 01:36
@saki7 saki7 changed the title Refine context naming Rename *_val contexts to *_var Oct 21, 2025
@saki7 saki7 mentioned this pull request Oct 21, 2025
@saki7 saki7 merged commit a491055 into boostorg:develop Oct 21, 2025
13 checks passed
@saki7 saki7 deleted the refine-context-naming branch October 21, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant