Constructor
Initialises the instance
Node structure
Optional
extend: false | Record<string, any>Extend the base node structure, if false, don't copy the base node structure details
a new instance
HashNode
public
Clean
Makes sure both the key and value are properly stored in their correct representation
Optional
value: null | Record<any, any>The value to clean
Optional
level: string[]the cleaned object values
clean
public
Special
Getter/Setter method for special values associated with nodes that are not fields. To retrieve a value or values, pass only the name or names, to set a single special value, pass a name and value
The name of the value to either set or get
Optional
value: anyThe value to set, must be something that can be converted directly to JSON
mixed | void
special
public
Static
createStatic
registerRegister
Registers the classes that can be children because we can't require them in this file as webpack can't handle file A that requires file B that requires file A
Name / value object of all classes to register, or the name of the constructor that will be added
Optional
constructor: anyThe class to associate with the given name
register
public
Hash Node
Dynamic object node
Name
HashNode
Access
public