(node *ast.Node, file *ast.SourceFile, includeJSDoc bool)
| 461 | } |
| 462 | |
| 463 | func GetStartOfNode(node *ast.Node, file *ast.SourceFile, includeJSDoc bool) int { |
| 464 | return scanner.GetTokenPosOfNode(node, file, includeJSDoc) |
| 465 | } |
| 466 | |
| 467 | // Looks for rightmost valid token in the range [startPos, endPos). |
| 468 | // If position is >= 0, looks for rightmost valid token that precedes or touches that position. |
no test coverage detected