|
|
|
@ -171,6 +171,17 @@ parse.ReturnStatement = function(contract, expression) { |
|
|
|
|
parse[subExpression.argument.type](contract, expression.argument); |
|
|
|
|
};*/ |
|
|
|
|
|
|
|
|
|
parse.TryStatement = function(contract, expression) { |
|
|
|
|
register.statement(contract, expression); |
|
|
|
|
parse[expression.body.type] && |
|
|
|
|
parse[expression.body.type](contract, expression.body); |
|
|
|
|
|
|
|
|
|
for (let x = 0; x < expression.catchClauses.length; x++) { |
|
|
|
|
parse[expression.catchClauses[x].body.type] && |
|
|
|
|
parse[expression.catchClauses[x].body.type](contract, expression.catchClauses[x].body); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
parse.UsingStatement = function (contract, expression) { |
|
|
|
|
parse[expression.for.type] && |
|
|
|
|
parse[expression.for.type](contract, expression.for); |
|
|
|
|