Returns the canonical version string version of the node.
The main purpose is to provide some definitive string versions of nodes so that we can check the equality of two shortcuts. This should ideally be done at the ChainNode level since e.g. key parses to Chain(Combo(Key(key))) but all it's node's string versions equal each other (i.e. Chain(Combo(Key(key))) === Key(key)).
The string returned should also parse back to exactly the same nodes (again, at the @ChainNode level).
Returns the canonical version string version of the node.
The main purpose is to provide some definitive string versions of nodes so that we can check the equality of two shortcuts. This should ideally be done at the ChainNode level since e.g.
keyparses toChain(Combo(Key(key)))but all it's node's string versions equal each other (i.e.Chain(Combo(Key(key)))===Key(key)).The string returned should also parse back to exactly the same nodes (again, at the @ChainNode level).
See Token.stringify for how this works at the token level.