mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:32:46 +00:00 
			
		
		
		
	JSSpecCompiler: Create FunctionDeclarations for all external functions
				
					
				
			This commit is contained in:
		
							parent
							
								
									5338cdd153
								
							
						
					
					
						commit
						7f47340c82
					
				
					 8 changed files with 32 additions and 35 deletions
				
			
		|  | @ -162,13 +162,7 @@ void Variable::dump_tree(StringBuilder& builder) | |||
| 
 | ||||
| void FunctionPointer::dump_tree(StringBuilder& builder) | ||||
| { | ||||
|     m_function.visit( | ||||
|         [&](StringView name) { | ||||
|             dump_node(builder, "Func external \"{}\"", name); | ||||
|         }, | ||||
|         [&](FunctionDefinitionRef function) { | ||||
|             dump_node(builder, "Func local \"{}\"", function->m_name); | ||||
|         }); | ||||
|     dump_node(builder, "Func \"{}\"", m_declaration->m_name); | ||||
| } | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Klishch
						Dan Klishch