0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-11-05 12:43:23 +01:00
Doodle3D-API/jspm_packages/npm/babel-core@5.6.20/doc/node-props.md
2015-07-15 15:06:18 +02:00

1017 B

Properties of nodes

These are properties babel stores in AST node objects for internal use, as opposed to properties that are part of the AST spec (ESTree at the time of this writing).

_blockHoist

node._blockHoist != null triggers the block-hoist transformer. Value should be true or an integer in the range 0..3. true is equivalent to 2. The value indicates whether the node should be hoisted and to what degree. See the source code for more detailed information.

_paths

Stores a representation of a node's position in the tree and relationship to other nodes.

shadow

A truthy value on a function node triggers the shadow-functions transformer, which transforms the node so that it references (or inherits) arguments and the this context from the parent scope. It is invoked for arrow functions, for example.