handle_match.cpp 2.7 KB

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