handle_match.cpp 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. #include "toolchain/check/context.h"
  5. #include "toolchain/check/convert.h"
  6. namespace Carbon::Check {
  7. auto HandleMatchConditionStart(Context& context,
  8. Parse::MatchConditionStartId parse_node)
  9. -> bool {
  10. return context.TODO(parse_node, "HandleMatchConditionStart");
  11. }
  12. auto HandleMatchCondition(Context& context, Parse::MatchConditionId parse_node)
  13. -> bool {
  14. return context.TODO(parse_node, "HandleMatchCondition");
  15. }
  16. auto HandleMatchIntroducer(Context& context,
  17. Parse::MatchIntroducerId parse_node) -> bool {
  18. return context.TODO(parse_node, "HandleMatchIntroducer");
  19. }
  20. auto HandleMatchStatementStart(Context& context,
  21. Parse::MatchStatementStartId parse_node)
  22. -> bool {
  23. return context.TODO(parse_node, "HandleMatchStatementStart");
  24. }
  25. auto HandleMatchCaseIntroducer(Context& context,
  26. Parse::MatchCaseIntroducerId parse_node)
  27. -> bool {
  28. return context.TODO(parse_node, "HandleMatchCaseIntroducer");
  29. }
  30. auto HandleMatchCaseGuardIntroducer(
  31. Context& context, Parse::MatchCaseGuardIntroducerId parse_node) -> bool {
  32. return context.TODO(parse_node, "HandleMatchCaseGuardIntroducer");
  33. }
  34. auto HandleMatchCaseGuardStart(Context& context,
  35. Parse::MatchCaseGuardStartId parse_node)
  36. -> bool {
  37. return context.TODO(parse_node, "HandleMatchCaseGuardStart");
  38. }
  39. auto HandleMatchCaseGuard(Context& context, Parse::MatchCaseGuardId parse_node)
  40. -> bool {
  41. return context.TODO(parse_node, "HandleMatchCaseGuard");
  42. }
  43. auto HandleMatchCaseEqualGreater(Context& context,
  44. Parse::MatchCaseEqualGreaterId parse_node)
  45. -> bool {
  46. return context.TODO(parse_node, "HandleMatchCaseEqualGreater");
  47. }
  48. auto HandleMatchCaseStart(Context& context, Parse::MatchCaseStartId parse_node)
  49. -> bool {
  50. return context.TODO(parse_node, "HandleMatchCaseStart");
  51. }
  52. auto HandleMatchCase(Context& context, Parse::MatchCaseId parse_node) -> bool {
  53. return context.TODO(parse_node, "HandleMatchCase");
  54. }
  55. auto HandleMatchDefaultIntroducer(Context& context,
  56. Parse::MatchDefaultIntroducerId parse_node)
  57. -> bool {
  58. return context.TODO(parse_node, "MatchDefaultIntroducer");
  59. }
  60. auto HandleMatchDefaultEqualGreater(
  61. Context& context, Parse::MatchDefaultEqualGreaterId parse_node) -> bool {
  62. return context.TODO(parse_node, "MatchDefaultEqualGreater");
  63. }
  64. auto HandleMatchDefaultStart(Context& context,
  65. Parse::MatchDefaultStartId parse_node) -> bool {
  66. return context.TODO(parse_node, "HandleMatchDefaultStart");
  67. }
  68. auto HandleMatchDefault(Context& context, Parse::MatchDefaultId parse_node)
  69. -> bool {
  70. return context.TODO(parse_node, "HandleMatchDefault");
  71. }
  72. auto HandleMatchStatement(Context& context, Parse::MatchStatementId parse_node)
  73. -> bool {
  74. return context.TODO(parse_node, "HandleMatchStatement");
  75. }
  76. } // namespace Carbon::Check