Input
Unofficial
Represents a document input for the parser.
Import:
import type { Input } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface InputProperties
| Property | Type | Description | |
|---|---|---|---|
| length | number | The total length of the input. | |
| lineChunks | boolean | Whether the input is divided into line-sized chunks. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| chunk(from) | string | Get a chunk of input starting at the given position. | |
| read(from, to) | string | Read a range of input. |