handle_match.cpp 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 node_id) -> bool {
  9. return context.TODO(node_id, "HandleMatchConditionStart");
  10. }
  11. auto HandleMatchCondition(Context& context, Parse::MatchConditionId node_id)
  12. -> bool {
  13. return context.TODO(node_id, "HandleMatchCondition");
  14. }
  15. auto HandleMatchIntroducer(Context& context, Parse::MatchIntroducerId node_id)
  16. -> bool {
  17. return context.TODO(node_id, "HandleMatchIntroducer");
  18. }
  19. auto HandleMatchStatementStart(Context& context,
  20. Parse::MatchStatementStartId node_id) -> bool {
  21. return context.TODO(node_id, "HandleMatchStatementStart");
  22. }
  23. auto HandleMatchCaseIntroducer(Context& context,
  24. Parse::MatchCaseIntroducerId node_id) -> bool {
  25. return context.TODO(node_id, "HandleMatchCaseIntroducer");
  26. }
  27. auto HandleMatchCaseGuardIntroducer(Context& context,
  28. Parse::MatchCaseGuardIntroducerId node_id)
  29. -> bool {
  30. return context.TODO(node_id, "HandleMatchCaseGuardIntroducer");
  31. }
  32. auto HandleMatchCaseGuardStart(Context& context,
  33. Parse::MatchCaseGuardStartId node_id) -> bool {
  34. return context.TODO(node_id, "HandleMatchCaseGuardStart");
  35. }
  36. auto HandleMatchCaseGuard(Context& context, Parse::MatchCaseGuardId node_id)
  37. -> bool {
  38. return context.TODO(node_id, "HandleMatchCaseGuard");
  39. }
  40. auto HandleMatchCaseEqualGreater(Context& context,
  41. Parse::MatchCaseEqualGreaterId node_id)
  42. -> bool {
  43. return context.TODO(node_id, "HandleMatchCaseEqualGreater");
  44. }
  45. auto HandleMatchCaseStart(Context& context, Parse::MatchCaseStartId node_id)
  46. -> bool {
  47. return context.TODO(node_id, "HandleMatchCaseStart");
  48. }
  49. auto HandleMatchCase(Context& context, Parse::MatchCaseId node_id) -> bool {
  50. return context.TODO(node_id, "HandleMatchCase");
  51. }
  52. auto HandleMatchDefaultIntroducer(Context& context,
  53. Parse::MatchDefaultIntroducerId node_id)
  54. -> bool {
  55. return context.TODO(node_id, "MatchDefaultIntroducer");
  56. }
  57. auto HandleMatchDefaultEqualGreater(Context& context,
  58. Parse::MatchDefaultEqualGreaterId node_id)
  59. -> bool {
  60. return context.TODO(node_id, "MatchDefaultEqualGreater");
  61. }
  62. auto HandleMatchDefaultStart(Context& context,
  63. Parse::MatchDefaultStartId node_id) -> bool {
  64. return context.TODO(node_id, "HandleMatchDefaultStart");
  65. }
  66. auto HandleMatchDefault(Context& context, Parse::MatchDefaultId node_id)
  67. -> bool {
  68. return context.TODO(node_id, "HandleMatchDefault");
  69. }
  70. auto HandleMatchStatement(Context& context, Parse::MatchStatementId node_id)
  71. -> bool {
  72. return context.TODO(node_id, "HandleMatchStatement");
  73. }
  74. } // namespace Carbon::Check