(loc *ast.Node, file *ast.SourceFile)
| 71 | } |
| 72 | |
| 73 | func withTokenStart(loc *ast.Node, file *ast.SourceFile) core.TextRange { |
| 74 | startPos := scanner.GetTokenPosOfNode(loc, file, false) |
| 75 | return core.NewTextRange(startPos, loc.End()) |
| 76 | } |
| 77 | |
| 78 | func (this *FormattingContext) blockIsOnOneLine(node *ast.Node) core.Tristate { |
| 79 | openBrace := astnav.FindChildOfKind(node, ast.KindOpenBraceToken, this.SourceFile) |
no test coverage detected