mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #1497 from federicobond/json-names
Fix names of JSON AST nodes
This commit is contained in:
		
						commit
						0e9b72725e
					
				| @ -318,7 +318,7 @@ bool ASTJsonConverter::visit(Throw const& _node) | |||||||
| 
 | 
 | ||||||
| bool ASTJsonConverter::visit(VariableDeclarationStatement const& _node) | bool ASTJsonConverter::visit(VariableDeclarationStatement const& _node) | ||||||
| { | { | ||||||
| 	addJsonNode(_node, "VariableDefinitionStatement", {}, true); | 	addJsonNode(_node, "VariableDeclarationStatement", {}, true); | ||||||
| 	return true; | 	return true; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -407,7 +407,7 @@ bool ASTJsonConverter::visit(Identifier const& _node) | |||||||
| 
 | 
 | ||||||
| bool ASTJsonConverter::visit(ElementaryTypeNameExpression const& _node) | bool ASTJsonConverter::visit(ElementaryTypeNameExpression const& _node) | ||||||
| { | { | ||||||
| 	addJsonNode(_node, "ElementaryTypenameExpression", { | 	addJsonNode(_node, "ElementaryTypeNameExpression", { | ||||||
| 		make_pair("value", _node.typeName().toString()), | 		make_pair("value", _node.typeName().toString()), | ||||||
| 		make_pair("type", type(_node)) | 		make_pair("type", type(_node)) | ||||||
| 	}); | 	}); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user