Changeset 777ed2b for src/Parser/TypeData.h
- Timestamp:
- Jul 11, 2018, 11:55:59 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 0fc52b6
- Parents:
- fc20514 (diff), 7de22b28 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.h
rfc20514 r777ed2b 27 27 struct TypeData { 28 28 enum Kind { Basic, Pointer, Array, Reference, Function, Aggregate, AggregateInst, Enum, EnumConstant, Symbolic, 29 SymbolicInst, Tuple, Typeof, Builtin, Unknown };29 SymbolicInst, Tuple, Typeof, Builtin, GlobalScope, Qualified, Unknown }; 30 30 31 31 struct Aggregate_t { … … 36 36 DeclarationNode * fields; 37 37 bool body; 38 bool anon; 38 39 39 40 bool tagged; … … 57 58 DeclarationNode * constants; 58 59 bool body; 60 bool anon; 59 61 }; 60 62 … … 75 77 }; 76 78 79 struct Qualified_t { // qualified type S.T 80 TypeData * parent; 81 TypeData * child; 82 }; 83 77 84 CodeLocation location; 78 85 … … 88 95 DeclarationNode * forall; 89 96 90 // Basic_t basic;91 97 Aggregate_t aggregate; 92 98 AggInst_t aggInst; 93 99 Array_t array; 94 100 Enumeration_t enumeration; 95 // Variable_t variable;96 101 Function_t function; 97 102 Symbolic_t symbolic; 103 Qualified_t qualified; 98 104 DeclarationNode * tuple; 99 105 ExpressionNode * typeexpr; … … 103 109 void print( std::ostream &, int indent = 0 ) const; 104 110 TypeData * clone() const; 111 112 const std::string * leafName() const; 105 113 }; 106 114
Note: See TracChangeset
for help on using the changeset viewer.