Commit Graph

1 Commits

Author SHA1 Message Date
Ashish Jain
4ab95fd224 fix: ANTLR parser interaction parameter passing
- Fixed callback argument parsing for empty parentheses: callback() now correctly passes undefined instead of empty string
- Fixed tooltip parsing for call patterns: click A call callback() "tooltip" now correctly extracts tooltip
- All interaction patterns now work correctly:
  * click nodeId call functionName(args) - with arguments
  * click nodeId call functionName() - without arguments
  * click nodeId call functionName() "tooltip" - with tooltip
  * click nodeId href "url" - direct links
  * click nodeId href "url" "tooltip" - links with tooltip
- Improved lexer grammar to handle callback arguments as single tokens
- All 13 interaction tests now passing (100% success rate)
2025-09-15 15:54:29 +02:00