Skip to content

IniSection

IniSection = object

Defined in: packages/format-ini/src/ast.ts:28

A [name] header. Properties after it belong to it until the next header.

readonly optional comment?: IniInlineComment

Defined in: packages/format-ini/src/ast.ts:35

A trailing comment on the same line, without its marker.


readonly kind: "section"

Defined in: packages/format-ini/src/ast.ts:29


readonly name: string

Defined in: packages/format-ini/src/ast.ts:31

Header text with surrounding whitespace trimmed, escapes resolved.


readonly raw: string

Defined in: packages/format-ini/src/ast.ts:33

Raw text between the brackets, for a byte-exact reprint.


readonly span: IniSpan

Defined in: packages/format-ini/src/ast.ts:36