(parent: ParentReference, type: string)
| 54 | metadata: Map<string, any> |
| 55 | |
| 56 | constructor(parent: ParentReference, type: string) { |
| 57 | this.parent = parent |
| 58 | this.type = type |
| 59 | this.matchingID = generateMatchingID() |
| 60 | this.isValid = true |
| 61 | this.invalidReason = '' |
| 62 | this.childSets = {} |
| 63 | this.childSetOrder = [] |
| 64 | this.childSetWrapPriorityOrder = null |
| 65 | this.properties = {} |
| 66 | this.enableMutations = false |
| 67 | this.mutationObservers = [] |
| 68 | this.isRepeatableBlock = false |
| 69 | this.metadata = new Map() |
| 70 | } |
| 71 | |
| 72 | get hasChildSets(): boolean { |
| 73 | return this.childSetOrder.length !== 0 |
nothing calls this directly
no test coverage detected