()
| 93 | } |
| 94 | |
| 95 | func (this *FormattingContext) NextNodeAllOnSameLine() bool { |
| 96 | if this.nextNodeAllOnSameLine == core.TSUnknown { |
| 97 | this.nextNodeAllOnSameLine = this.nodeIsOnOneLine(this.nextTokenParent) |
| 98 | } |
| 99 | return this.nextNodeAllOnSameLine == core.TSTrue |
| 100 | } |
| 101 | |
| 102 | func (this *FormattingContext) TokensAreOnSameLine() bool { |
| 103 | if this.tokensAreOnSameLine == core.TSUnknown { |
no test coverage detected