(node *ast.Node)
| 126 | } |
| 127 | |
| 128 | func isConstTypeReference(node *ast.Node) bool { |
| 129 | return ast.IsTypeReferenceNode(node) && len(node.TypeArguments()) == 0 && ast.IsIdentifier(node.AsTypeReferenceNode().TypeName) && node.AsTypeReferenceNode().TypeName.Text() == "const" |
| 130 | } |
| 131 | |
| 132 | func GetSingleVariableOfVariableStatement(node *ast.Node) *ast.Node { |
| 133 | if !ast.IsVariableStatement(node) { |
no test coverage detected