Describes the meta data of a property of an AST node.
The optional defaultValue indicates that the property is mandatory in the AST node.
For example, if an AST node contains an array, but no elements of this array have been parsed, we still expect an empty array instead of undefined.
Describes the meta data of a property of an AST node.
The optional
defaultValue
indicates that the property is mandatory in the AST node. For example, if an AST node contains an array, but no elements of this array have been parsed, we still expect an empty array instead ofundefined
.