MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / traverseAST

Function traverseAST

scripts/compareStorageLayout.js:46–53  ·  view source on GitHub ↗
(_input, _elements)

Source from the content-addressed store, hash-verified

44});
45
46function traverseAST(_input, _elements) {
47 if (_input.children) {
48 for (var i = 0; i < _input.children.length; i++) {
49 traverseAST(_input.children[i], _elements);
50 }
51 }
52 _elements.push(_input);
53}
54
55function compareStorageLayouts(logicLayout, proxyLayout) {
56 function makeComp(x) {

Callers 1

parseContractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected