struct_definition.h 582 B

1234567891011121314151617181920212223
  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_STRUCT_DEFINITION_H_
  5. #define EXECUTABLE_SEMANTICS_AST_STRUCT_DEFINITION_H_
  6. #include <list>
  7. #include <string>
  8. #include "executable_semantics/ast/member.h"
  9. namespace Carbon {
  10. struct StructDefinition {
  11. int line_num;
  12. std::string* name;
  13. std::list<Member*>* members;
  14. };
  15. } // namespace Carbon
  16. #endif // EXECUTABLE_SEMANTICS_AST_STRUCT_DEFINITION_H_