handle_match.cpp 3.1 KB

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