The estree node to hash.
The json path of the node in starting from file.root
. It
is composed of the properties names that lead to the node concatenated with
dots. So integers properties are within bracket. For instance:
"body.0.declarations.0.init"
.
The path of the file containing the node as provided by
file.path
.
The kind of the node -- eg: "Program
", "Statement"
,
"Expression"
, ...
The hash of the node. It should be unique for each node in the
program file.root
. It is safe to simply returns node_path
.
Hashing function for estree nodes.