Code

History

Commits on ig/commit-debug to cli/src/template_parser.rs70+
  1. fileset, templater: insert intermediate InvalidArguments error typeYuya Nishihara committed 2 years ago0c05c54
  2. templater: let caller specify function name and span of invalid arguments errorYuya Nishihara committed 2 years agoc9b088c
  3. templater: add helper that maps FunctionCallNode to errorYuya Nishihara committed 2 years agoe5fca8f
  4. templater: forward expect_no_arguments() to expect_exact_arguments()Yuya Nishihara committed 2 years agoda00544
  5. templater: implement expect_*_arguments() as methodsYuya Nishihara committed 2 years ago04efac3
  6. templater: migrate to generic dsl_util::AliasesMap typeYuya Nishihara committed 2 years agoc04fb7d
  7. revset, templater: extract trait that parses alias declarationYuya Nishihara committed 2 years ago6916fae
  8. templater: consolidate node.span handling in expand_node()Yuya Nishihara committed 2 years ago6d211c5
  9. templater: attach alias traces to function parameterYuya Nishihara committed 2 years ago6b9e5f7
  10. templater: move boxing to ExpressionKind variants to make the enum smallerYuya Nishihara committed 2 years agoe87b49c
  11. templater: include actual type name in error messagesYuya Nishihara committed 2 years agoa63dbcc
  12. fileset, revset, templater: add support for single-quoted raw string literalsYuya Nishihara committed 2 years ago5b769c5
  13. dsl_util: deduplicate collect_similar() from revset and templaterYuya Nishihara committed 2 years ago521bcd8
  14. dsl_util: extract helper that parses string literal with \-escapesYuya Nishihara committed 2 years ago274183f
  15. templater: rename string literal rulesYuya Nishihara committed 2 years ago6039e98
  16. templater: relax operator precedence rule to reduce possibility of large reparseYuya Nishihara committed 2 years ago32afea1
  17. templater: merge ParseIntError into generic Expression errorYuya Nishihara committed 2 years ago339b199
  18. templater: consolidate "unexpected expression" error constructorsYuya Nishihara committed 2 years ago76f3b80
  19. revset, templater: split parse error constructor that sets source error objectYuya Nishihara committed 2 years agob09732f
  20. revset, templater: simplify parse error impls by using thiserrorYuya Nishihara committed 2 years agod171666
  21. revset, templater: render parse error as usual error chainYuya Nishihara committed 2 years ago2cd70bd
  22. revset, templater: allow any kind of error as parse error sourceYuya Nishihara committed 2 years ago844d3d0
  23. templater: migrate global functions to table-based lookupYuya Nishihara committed 2 years ago82b6d07
  24. cli: enrich the error about required template value with a hintAleksey Kuznetsov committed 2 years ago38d14ea
  25. templater: expand similarity hint with aliasesYuya Nishihara committed 2 years ago7bc4521
  26. templater: add similarity hint to no such method/keyword errorsYuya Nishihara committed 2 years ago71a9dc8
  27. templater: extract stub function that resolves method nameYuya Nishihara committed 2 years ago1b4c339
  28. templater: parse negative integer as unary operator and literalYuya Nishihara committed 2 years agoe943a5b
  29. templater: retain "++" in parsed tree to provide better error indicationYuya Nishihara committed 2 years ago406f2b6
  30. templater: translate symbol rules in error messageYuya Nishihara committed 2 years agofd4c5a6
  31. templater: parse logical operators (||, &&, and !)Yuya Nishihara committed 2 years ago88a1729
  32. templater: sort catch-all arms of ExpressionKind in declaration orderYuya Nishihara committed 2 years ago3c4d904
  33. revset, template: remove ": {source}" from parse error message templateYuya Nishihara committed 2 years agoa0cefb8
  34. Allow \0 escape for nullsZachary Dremann committed 3 years ago2177dc0
  35. templater: add boolean literalsYuya Nishihara committed 3 years ago4394bf8