| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- // 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"
- namespace Carbon::Check {
- // `import` and `package` are structured by parsing. As a consequence, no
- // checking logic is needed here.
- auto HandleImportIntroducer(Context& /*context*/,
- Parse::ImportIntroducerId /*node_id*/) -> bool {
- return true;
- }
- auto HandleImportDirective(Context& /*context*/,
- Parse::ImportDirectiveId /*node_id*/) -> bool {
- return true;
- }
- auto HandleLibraryIntroducer(Context& /*context*/,
- Parse::LibraryIntroducerId /*node_id*/) -> bool {
- return true;
- }
- auto HandleLibraryDirective(Context& /*context*/,
- Parse::LibraryDirectiveId /*node_id*/) -> bool {
- return true;
- }
- auto HandlePackageIntroducer(Context& /*context*/,
- Parse::PackageIntroducerId /*node_id*/) -> bool {
- return true;
- }
- auto HandlePackageDirective(Context& /*context*/,
- Parse::PackageDirectiveId /*node_id*/) -> bool {
- return true;
- }
- auto HandleLibrarySpecifier(Context& /*context*/,
- Parse::LibrarySpecifierId /*node_id*/) -> bool {
- return true;
- }
- auto HandlePackageName(Context& /*context*/, Parse::PackageNameId /*node_id*/)
- -> bool {
- return true;
- }
- auto HandleLibraryName(Context& /*context*/, Parse::LibraryNameId /*node_id*/)
- -> bool {
- return true;
- }
- auto HandleDefaultLibrary(Context& /*context*/,
- Parse::DefaultLibraryId /*node_id*/) -> bool {
- return true;
- }
- auto HandlePackageApi(Context& /*context*/, Parse::PackageApiId /*node_id*/)
- -> bool {
- return true;
- }
- auto HandlePackageImpl(Context& /*context*/, Parse::PackageImplId /*node_id*/)
- -> bool {
- return true;
- }
- } // namespace Carbon::Check
|