(node *Node)
| 1152 | } |
| 1153 | |
| 1154 | func GetRootDeclaration(node *Node) *Node { |
| 1155 | for node.Kind == KindBindingElement { |
| 1156 | node = node.Parent.Parent |
| 1157 | } |
| 1158 | return node |
| 1159 | } |
| 1160 | |
| 1161 | func getCombinedFlags[T ~uint32](node *Node, getFlags func(*Node) T) T { |
| 1162 | node = GetRootDeclaration(node) |
no outgoing calls
no test coverage detected