abstract_syntax_tree.h 553 B

1234567891011121314151617
  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 EXECUTABLE_SEMANTICS_AST_ABSTRACT_SYNTAX_TREE_H_
  5. #define EXECUTABLE_SEMANTICS_AST_ABSTRACT_SYNTAX_TREE_H_
  6. #include <variant>
  7. #include "executable_semantics/ast/declaration.h"
  8. #include "executable_semantics/common/ptr.h"
  9. namespace Carbon {
  10. using AST = std::list<Ptr<const Declaration>>;
  11. }
  12. #endif // EXECUTABLE_SEMANTICS_AST_ABSTRACT_SYNTAX_TREE_H_