Files
carbon-lang/toolchain/check/handle_where.cpp
T
d6b2fb1736 Add parse support for multiple requirements after where separated by and (#4298)
Follow on to #4275 that added `where` parse support.

---------

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
2024-09-11 21:36:55 +00:00

49 lines
1.5 KiB
C++

// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "toolchain/check/context.h"
#include "toolchain/check/convert.h"
#include "toolchain/check/handle.h"
namespace Carbon::Check {
auto HandleParseNode(Context& context, Parse::SelfTypeNameId node_id) -> bool {
return context.TODO(node_id, "HandleSelfTypeName");
}
auto HandleParseNode(Context& context, Parse::DesignatorExprId node_id)
-> bool {
return context.TODO(node_id, "HandleDesignatorExpr");
}
auto HandleParseNode(Context& context, Parse::WhereOperandId node_id) -> bool {
return context.TODO(node_id, "HandleWhereOperand");
}
auto HandleParseNode(Context& context, Parse::RequirementEqualId node_id)
-> bool {
return context.TODO(node_id, "HandleRequirementEqual");
}
auto HandleParseNode(Context& context, Parse::RequirementEqualEqualId node_id)
-> bool {
return context.TODO(node_id, "HandleRequirementEqualEqual");
}
auto HandleParseNode(Context& context, Parse::RequirementImplsId node_id)
-> bool {
return context.TODO(node_id, "HandleRequirementImpls");
}
auto HandleParseNode(Context& context, Parse::RequirementAndId node_id)
-> bool {
return context.TODO(node_id, "HandleRequirementAnd");
}
auto HandleParseNode(Context& context, Parse::WhereExprId node_id) -> bool {
return context.TODO(node_id, "HandleWhereExpr");
}
} // namespace Carbon::Check