node_kind.h 576 B

123456789101112131415161718192021222324
  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. #ifndef CARBON_TOOLCHAIN_SEMANTICS_NODE_KIND_H_
  5. #define CARBON_TOOLCHAIN_SEMANTICS_NODE_KIND_H_
  6. #include <cstdint>
  7. namespace Carbon::Semantics {
  8. // Meta node information for declarations.
  9. enum class NodeKind {
  10. BinaryOperator,
  11. Function,
  12. IntegerLiteral,
  13. Return,
  14. SetName,
  15. Invalid,
  16. };
  17. } // namespace Carbon::Semantics
  18. #endif // CARBON_TOOLCHAIN_SEMANTICS_NODE_KIND_H_