diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 13:46:17 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 13:46:17 +0300 |
| commit | fe811682d952e5322a5bc3c5e0bddfe8074b4cf9 (patch) | |
| tree | 62ccfb586b5c20438d61f99fbf62f87fbfae782b /docs/constants.md | |
| parent | ad7113c9119458f076fea90f55b8a9ceecb45891 (diff) | |
refactor(rpn): split large functions in rpn_parse.go (task 6j)
Extract inline helper methods to bring dispatchToken,
handleMetricCommand, and handleCustomCommand under 50 lines:
- handleInlineAssignment: extracts := / =: stack assignment logic
- handleMetricPrefix: handles metric binary/decimal prefix mode switching
- handleCustomDefine: handles 'custom define' subcommand
- handleCustomUndefine: handles 'custom undefine' subcommand
dispatchToken: 55 -> 47 lines
handleMetricCommand: 40 -> 38 lines
handleCustomCommand: 43 -> 31 lines
Diffstat (limited to 'docs/constants.md')
0 files changed, 0 insertions, 0 deletions
