Skip to Content
LibraryCoreSrcParserStdEnvInterfacesInterface: Env

Lawtext core references


Lawtext core references / core/src/parser/std/env / Env

Interface: Env

Defined in: core/src/parser/std/env.ts:4 

Extends

Properties

baseOffset

baseOffset: number

Defined in: core/node_modules/generic-parser/lib/core/env.d.ts:20

Inherited from

BaseEnv.baseOffset


onMatchFail()?

optional onMatchFail: (matchFail, matchContext) => void

Defined in: core/node_modules/generic-parser/lib/core/env.d.ts:19

Parameters

matchFail

MatchFail

matchContext

MatchContext

Returns

void

Inherited from

BaseEnv.onMatchFail


options

options: Record<string | number | symbol, unknown>

Defined in: core/node_modules/generic-parser/lib/core/env.d.ts:16

Inherited from

BaseEnv.options


state

state: object

Defined in: core/src/parser/std/env.ts:5 

maxOffsetMatchContext

maxOffsetMatchContext: MatchContext | null

maxOffsetMatchFail

maxOffsetMatchFail: MatchFail | null

Methods

offsetToPos()

offsetToPos(target, rawOffset): BasePos

Defined in: core/node_modules/generic-parser/lib/core/env.d.ts:18

Parameters

target

VirtualLine[]

rawOffset

number

Returns

BasePos

Inherited from

BaseEnv.offsetToPos


registerCurrentRangeTarget()

registerCurrentRangeTarget(rawStart, rawEnd, target): void

Defined in: core/node_modules/generic-parser/lib/core/env.d.ts:17

Parameters

rawStart

number

rawEnd

number

target

VirtualLine[]

Returns

void

Inherited from

BaseEnv.registerCurrentRangeTarget

© 2017-2026 yamachi