Changeset d1fbc56e
- Timestamp:
- Aug 23, 2024, 2:04:50 PM (3 months ago)
- Branches:
- master
- Children:
- 26ee4b5
- Parents:
- 45ee172
- Location:
- src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.hpp
r45ee172 rd1fbc56e 50 50 : ParseNode( loc ), name( name ), storage( storage ), linkage( linkage ) {} 51 51 52 Decl* set_extension( bool ex ) { extension = ex; return this; }53 54 52 /// Ensures this node has a unique ID 55 53 void fixUniqueId(); -
src/AST/Expr.hpp
r45ee172 rd1fbc56e 187 187 : ParseNode( loc ), result( res ), env(), inferred() {} 188 188 189 Expr * set_extension( bool ex ) { extension = ex; return this; }190 189 virtual bool get_lvalue() const; 191 190 -
src/Parser/DeclarationNode.cpp
r45ee172 rd1fbc56e 959 959 isDelete ? nullptr : maybeBuild( initializer ), 960 960 copy( attributes ) 961 )->set_extension( extension ); 961 ); 962 decl->extension = extension; 962 963 if ( isDelete ) { 963 964 auto dwt = strict_dynamic_cast<ast::DeclWithType *>( decl ); -
src/Parser/ExpressionNode.hpp
r45ee172 rd1fbc56e 43 43 ast::Expr * build() { 44 44 ast::Expr * node = expr.release(); 45 node-> set_extension( this->get_extension() );45 node->extension = this->extension; 46 46 node->location = this->location; 47 47 return node;
Note: See TracChangeset
for help on using the changeset viewer.