handle_choice.cpp 967 B

123456789101112131415161718192021222324252627282930
  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/handle.h"
  6. namespace Carbon::Check {
  7. auto HandleParseNode(Context& context, Parse::ChoiceDefinitionId node_id)
  8. -> bool {
  9. return context.TODO(node_id, "HandleChoiceDefinition");
  10. }
  11. auto HandleParseNode(Context& context, Parse::ChoiceIntroducerId node_id)
  12. -> bool {
  13. return context.TODO(node_id, "HandleChoiceIntroducer");
  14. }
  15. auto HandleParseNode(Context& context, Parse::ChoiceDefinitionStartId node_id)
  16. -> bool {
  17. return context.TODO(node_id, "HandleChoiceDefinitionStart");
  18. }
  19. auto HandleParseNode(Context& context,
  20. Parse::ChoiceAlternativeListCommaId node_id) -> bool {
  21. return context.TODO(node_id, "HandleChoiceAlternativeListComma");
  22. }
  23. } // namespace Carbon::Check