Files
carbon-lang/executable_semantics/interpreter/resolve_names.h
T
Jon MeowandGeoff Romer 27e084d37a Start populating named entities in relevant locations. (#919)
This starts detecting naming collisions as a consequence of being able to determine when the name is declared twice in a given scope.



Co-authored-by: Geoff Romer <gromer@google.com>
2021-11-03 08:04:13 -07:00

19 lines
613 B
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
#ifndef EXECUTABLE_SEMANTICS_INTERPRETER_RESOLVE_NAMES_H_
#define EXECUTABLE_SEMANTICS_INTERPRETER_RESOLVE_NAMES_H_
#include "executable_semantics/ast/ast.h"
#include "executable_semantics/common/arena.h"
namespace Carbon {
// Resolves names (IdentifierExpressions) in the AST.
void ResolveNames(Nonnull<Arena*>, AST& ast);
} // namespace Carbon
#endif // EXECUTABLE_SEMANTICS_INTERPRETER_RESOLVE_CONTROL_FLOW_H_