(node *ast.Node)
| 67 | } |
| 68 | |
| 69 | func (this *FormattingContext) nodeIsOnOneLine(node *ast.Node) core.Tristate { |
| 70 | return this.rangeIsOnOneLine(withTokenStart(node, this.SourceFile)) |
| 71 | } |
| 72 | |
| 73 | func withTokenStart(loc *ast.Node, file *ast.SourceFile) core.TextRange { |
| 74 | startPos := scanner.GetTokenPosOfNode(loc, file, false) |
no test coverage detected