Changeset 94c98f0e
- Timestamp:
- Apr 11, 2023, 3:51:31 PM (13 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 153d3440
- Parents:
- b05beaa
- Location:
- src/AST
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Attribute.hpp
rb05beaa r94c98f0e 27 27 class Expr; 28 28 29 /// An entry in an attribute list: `__attribute__(( ... ))` 29 30 class Attribute final : public Node { 30 31 public: -
src/AST/Decl.hpp
rb05beaa r94c98f0e 316 316 public: 317 317 bool isTyped; // isTyped indicated if the enum has a declaration like: 318 // enum (type_optional) Name {...} 318 // enum (type_optional) Name {...} 319 319 ptr<Type> base; // if isTyped == true && base.get() == nullptr, it is a "void" type enum 320 320 enum class EnumHiding { Visible, Hide } hide; … … 374 374 }; 375 375 376 /// Assembly declaration: `asm ... ( "..." : ... )` 376 377 class AsmDecl : public Decl { 377 378 public: -
src/AST/Expr.hpp
rb05beaa r94c98f0e 254 254 }; 255 255 256 /// A name qualified by a namespace or type. 256 257 class QualifiedNameExpr final : public Expr { 257 258 public: … … 259 260 std::string name; 260 261 261 QualifiedNameExpr( const CodeLocation & loc, const Decl * d, const std::string & n ) 262 QualifiedNameExpr( const CodeLocation & loc, const Decl * d, const std::string & n ) 262 263 : Expr( loc ), type_decl( d ), name( n ) {} 263 264 … … 621 622 }; 622 623 624 /// A name that refers to a generic dimension parameter. 623 625 class DimensionExpr final : public Expr { 624 626 public: … … 910 912 }; 911 913 912 913 914 } 914 915 -
src/AST/Init.hpp
rb05beaa r94c98f0e 117 117 ptr<Init> init; 118 118 119 ConstructorInit( 119 ConstructorInit( 120 120 const CodeLocation & loc, const Stmt * ctor, const Stmt * dtor, const Init * init ) 121 121 : Init( loc, MaybeConstruct ), ctor( ctor ), dtor( dtor ), init( init ) {} -
src/AST/Stmt.hpp
rb05beaa r94c98f0e 397 397 }; 398 398 399 // Clause in a waitfor statement: waitfor (..., ...) ... 399 400 class WaitForClause final : public StmtClause { 400 401 public: … … 457 458 MUTATE_FRIEND 458 459 }; 460 459 461 } // namespace ast 460 462
Note: See TracChangeset
for help on using the changeset viewer.