Library
core
src
node
cst
line
classes
Blankline

Lawtext core references


Lawtext core references / core/src/node/cst/line / BlankLine

Class: BlankLine

Defined in: core/src/node/cst/line.ts:143 (opens in a new tab)

A blank line with no printable characters. Please see the source code of $blankLine for the detailed syntax.

Extends

  • BaseLine<BNK>

Constructors

new BlankLine()

new BlankLine(options): BlankLine

Defined in: core/src/node/cst/line.ts:144 (opens in a new tab)

Parameters

options

BlankLineOptions

Returns

BlankLine

Overrides

BaseLine<LineType.BNK>.constructor

Properties

lineEndText

lineEndText: string

Defined in: core/src/node/cst/line.ts:50 (opens in a new tab)

Inherited from

BaseLine.lineEndText


range

range: null | [number, number]

Defined in: core/src/node/cst/line.ts:49 (opens in a new tab)

Inherited from

BaseLine.range


type

type: BNK

Defined in: core/src/node/cst/line.ts:48 (opens in a new tab)

Inherited from

BaseLine.type

Methods

lineEndTextRange()

lineEndTextRange(): null | [number, number]

Defined in: core/src/node/cst/line.ts:62 (opens in a new tab)

Returns

null | [number, number]

Inherited from

BaseLine.lineEndTextRange


rangeTexts()

rangeTexts(): [null | [number, number], string, string][]

Defined in: core/src/node/cst/line.ts:149 (opens in a new tab)

Returns

[null | [number, number], string, string][]

Overrides

BaseLine.rangeTexts


text()

text(): string

Defined in: core/src/node/cst/line.ts:58 (opens in a new tab)

Returns

string

Inherited from

BaseLine.text