(n *ast.Node, sourceFile *ast.SourceFile)
| 512 | } |
| 513 | |
| 514 | func getStartLineForNode(n *ast.Node, sourceFile *ast.SourceFile) int { |
| 515 | return scanner.GetECMALineOfPosition(sourceFile, scanner.GetTokenPosOfNode(n, sourceFile, false)) |
| 516 | } |
| 517 | |
| 518 | func GetContainingList(node *ast.Node, sourceFile *ast.SourceFile) *ast.NodeList { |
| 519 | if node.Parent == nil { |
no test coverage detected