mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	LibJS: Replace boolean without_side_effects parameters with an enum
This commit is contained in:
		
							parent
							
								
									864beb0bd5
								
							
						
					
					
						commit
						dcb55db99b
					
				
					 16 changed files with 56 additions and 51 deletions
				
			
		|  | @ -786,12 +786,12 @@ public: | |||
| 
 | ||||
|     if (interface.extended_attributes.contains("CustomGet")) { | ||||
|         generator.append(R"~~~( | ||||
|     virtual JS::Value get(const JS::PropertyName&, JS::Value receiver = {}, bool without_side_effects = false) const override; | ||||
|     virtual JS::Value get(const JS::PropertyName&, JS::Value receiver = {}, JS::AllowSideEffects = JS::AllowSideEffects::Yes) const override; | ||||
| )~~~"); | ||||
|     } | ||||
|     if (interface.extended_attributes.contains("CustomGetByIndex")) { | ||||
|         generator.append(R"~~~( | ||||
|     virtual JS::Value get_by_index(u32 property_index, bool without_side_effects = false) const override; | ||||
|     virtual JS::Value get_by_index(u32 property_index, JS::AllowSideEffects = JS::AllowSideEffects::Yes) const override; | ||||
| )~~~"); | ||||
|     } | ||||
|     if (interface.extended_attributes.contains("CustomPut")) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Idan Horowitz
						Idan Horowitz