()
| 132 | } |
| 133 | |
| 134 | transitions() { |
| 135 | let transitions = Object.create(null); |
| 136 | let current = this; |
| 137 | while (current) { |
| 138 | let edge = current.edge; |
| 139 | if (edge && edge.isTransition()) { |
| 140 | transitions[edge.name] = edge; |
| 141 | } |
| 142 | current = current.parent; |
| 143 | } |
| 144 | return transitions; |
| 145 | } |
| 146 | |
| 147 | get type() { |
| 148 | return this.edge?.type ?? 'new'; |
nothing calls this directly
no test coverage detected