(node core.TextRange)
| 60 | } |
| 61 | |
| 62 | func (this *FormattingContext) rangeIsOnOneLine(node core.TextRange) core.Tristate { |
| 63 | if rangeIsOnOneLine(node, this.SourceFile) { |
| 64 | return core.TSTrue |
| 65 | } |
| 66 | return core.TSFalse |
| 67 | } |
| 68 | |
| 69 | func (this *FormattingContext) nodeIsOnOneLine(node *ast.Node) core.Tristate { |
| 70 | return this.rangeIsOnOneLine(withTokenStart(node, this.SourceFile)) |
no test coverage detected