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
ArrayNode
public
Min/Max
Sets or gets the minimum and/or maximum number of items for the Array. For getting, returns {"minimum":uint,"maximum":uint}
Optional minimum: null | string | numberThe minimum value
Optional maximum: null | string | numberThe maximum value
The currently set min / max on get, or void for set
minmax
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
Array Node
Handles lists of nodes
Name
ArrayNode
Access
public