Code

History

Commits on ig/docs-commitid to cli/src/template_parser.rs35+
  1. cleanup: replace once_cell::sync::Lazy by std::sync::LazyLockMartin von Zweigbergk committed 1 year agoaf621c7
  2. templater: inline expect_<construct>_with() parsing helpersYuya Nishihara committed 1 year ago4a9fcb0
  3. templater: extract helper functions that handles alias expansion stackYuya Nishihara committed 1 year ago11806de
  4. address new mismatched_lifetime_syntaxes Clippy lintMartin von Zweigbergk committed 1 year agoc43ca3c
  5. templater: add arithmetic operatorsT6 committed 1 year ago13c6257
  6. templater: port Template/ListTemplate methods to symbol tableYuya Nishihara committed 1 year ago01a27fa
  7. cleanup: use new array methods instead of .collect_tuple()/.next_tuple()Yuya Nishihara committed 1 year ago60b9612
  8. cleanup: enable `unused_trait_names` clippy lint and run `clippy --fix`Ilya Grigoriev committed 1 year agoacaedc3
  9. parser: use backtick to quote name or expression in error messageYuya Nishihara committed 1 year ago5be25bc
  10. templater: rename "logical" eq/ne operatorsYuya Nishihara committed 1 year ago53b8eeb
  11. templater: add relational operators (`>=`, `>`, `<=`, `<`)Benjamin Tan committed 1 year agoda5b790
  12. templater: add != operator as user would probably expect that it existsYuya Nishihara committed 2 years ago6739dcc
  13. template: add support for logical equality operatorBenjamin Tan committed 2 years ago1372b39
  14. templater: add support for keyword argumentsYuya Nishihara committed 2 years ago6e06a79
  15. templates: support hex bytes in string literalsVamsi Avula committed 2 years agoa6aa25c
  16. refactor: Allow the aliases map to map to arbitrary types.Matt Stark committed 2 years agoa524f1f
  17. templater: pass diagnostics receiver aroundYuya Nishihara committed 2 years ago11286b3
  18. revset, templater: make context message of nested errors less specificYuya Nishihara committed 2 years agodf89679
  19. cleanup: remove redundant ::{self} from use declarationsYuya Nishihara committed 2 years ago87fb169
  20. formatting only: switch to Item level import ganularityMatt Kulukundis committed 2 years ago8ead72e
  21. revset, templater: implement arity-based alias overloadingYuya Nishihara committed 2 years agoa7bff04
  22. revset, templater: include parameter names in AliasIdYuya Nishihara committed 2 years agod38c9e8
  23. fileset, templater: in tests, make parse_normalized() unwrap resultYuya Nishihara committed 2 years ago53fa95d
  24. dsl_util: add keyword arguments and parsing helper to FunctionCallNodeYuya Nishihara committed 2 years agob0845d1
  25. dsl_util: introduce visitor-based generic alias substitutionYuya Nishihara committed 2 years agob31f75b
  26. dsl_util: add trait for alias body parsingYuya Nishihara committed 2 years ago0efd2aa
  27. dsl_util: add visitor-like API primarily designed for alias substitutionYuya Nishihara committed 2 years ago7be4a0a
  28. dsl_util: add trait for alias substitution errorsYuya Nishihara committed 2 years ago5061d4b
  29. dsl_util: add trait that constructs ExpressionKind of basic AST node typesYuya Nishihara committed 2 years agocf63574
  30. fileset, templater: extract basic AST node typesYuya Nishihara committed 2 years ago97023b8
  31. fileset, templater: insert intermediate InvalidArguments error typeYuya Nishihara committed 2 years ago0c05c54
  32. templater: let caller specify function name and span of invalid arguments errorYuya Nishihara committed 2 years agoc9b088c
  33. templater: add helper that maps FunctionCallNode to errorYuya Nishihara committed 2 years agoe5fca8f
  34. templater: forward expect_no_arguments() to expect_exact_arguments()Yuya Nishihara committed 2 years agoda00544
  35. templater: implement expect_*_arguments() as methodsYuya Nishihara committed 2 years ago04efac3