shrimp/src
Corey Johnson 2fc321596f refactor(scope): simplify Scope class, remove pending state
- Remove pendingIdentifiers and isInParams from constructor
- Fix has() method null coalescing bug
- Simplify add(), push(), pop() methods
- Remove withPendingIdentifiers, withIsInParams, clearPending methods
- Simplify hash() to only hash vars and parent (not pending state)
- Make pop() return this instead of creating new Scope when no parent

This creates a pure, hashable Scope class that only tracks variable
scope chain. Temporary state (pending identifiers) will be moved to
ScopeContext wrapper in next task.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 18:38:19 -07:00
..
compiler wip 2025-10-16 16:13:16 -07:00
editor regex and null 2025-10-16 13:51:50 -07:00
parser refactor(scope): simplify Scope class, remove pending state 2025-10-17 18:38:19 -07:00
server regex and null 2025-10-16 13:51:50 -07:00
utils regex and null 2025-10-16 13:51:50 -07:00
testSetup.ts wip 2025-10-16 16:13:16 -07:00