(node *Node)
| 2962 | } |
| 2963 | |
| 2964 | func IsThisInTypeQuery(node *Node) bool { |
| 2965 | if !IsThisIdentifier(node) { |
| 2966 | return false |
| 2967 | } |
| 2968 | for IsQualifiedName(node.Parent) && node.Parent.AsQualifiedName().Left == node { |
| 2969 | node = node.Parent |
| 2970 | } |
| 2971 | return node.Parent.Kind == KindTypeQuery |
| 2972 | } |
| 2973 | |
| 2974 | // Gets whether a bound `VariableDeclaration` or `VariableDeclarationList` is part of a `let` declaration. |
| 2975 | func IsLet(node *Node) bool { |
no test coverage detected