mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 22:42:40 +00:00
1 parent
47325be112
commit
367f9e4e94
24 files changed
+82
-84
No files matched your search
@@ -0,0 +1,23 @@
|
||||
// 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_AST_STRUCT_DEFINITION_H_
|
||||
#define EXECUTABLE_SEMANTICS_AST_STRUCT_DEFINITION_H_
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
|
||||
#include "executable_semantics/ast/member.h"
|
||||
|
||||
namespace Carbon {
|
||||
|
||||
struct ClassDefinition {
|
||||
int line_num;
|
||||
std::string name;
|
||||
std::list<Member*> members;
|
||||
};
|
||||
|
||||
} // namespace Carbon
|
||||
|
||||
#endif // EXECUTABLE_SEMANTICS_AST_STRUCT_DEFINITION_H_
|
||||
Reference in new issue
Block a user