omit uninteresting block_scope tag
This commit is contained in:
parent
30395e40da
commit
bfb5f85ad3
|
|
@ -269,11 +269,9 @@ function run() {
|
||||||
_class: "AST_" + value.TYPE
|
_class: "AST_" + value.TYPE
|
||||||
};
|
};
|
||||||
if (value.block_scope) {
|
if (value.block_scope) {
|
||||||
result.block_scope = {
|
result.variables = value.block_scope.variables;
|
||||||
variables: value.block_scope.variables,
|
result.functions = value.block_scope.functions;
|
||||||
functions: value.block_scope.functions,
|
result.enclosed = value.block_scope.enclosed;
|
||||||
enclosed: value.block_scope.enclosed,
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
value.CTOR.PROPS.forEach(function(prop) {
|
value.CTOR.PROPS.forEach(function(prop) {
|
||||||
result[prop] = value[prop];
|
result[prop] = value[prop];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user