Skip to Content
LibraryCoreSrcAnalyzerDetectdeclarationscore/src/analyzer/detectDeclarations

Lawtext core references


Lawtext core references / core/src/analyzer/detectDeclarations

core/src/analyzer/detectDeclarations

Functions

detectDeclarations()

detectDeclarations(sentenceEnvsStruct, pointerEnvsStruct, lawTitleLength): WithErrorValue<{ declarations: Declarations; lawRefByDeclarationID: Map<string, ____LawRef>; }>

Defined in: core/src/analyzer/detectDeclarations/index.ts:138 

Parameters

sentenceEnvsStruct

SentenceEnvsStruct

pointerEnvsStruct

PointerEnvsStruct

lawTitleLength

(lawNum) => number | null

Returns

WithErrorValue<{ declarations: Declarations; lawRefByDeclarationID: Map<string, ____LawRef>; }>


detectDeclarationsByEL()

detectDeclarationsByEL(elToBeModified, sentenceEnv, sentenceEnvsStruct, pointerEnvsStruct, lawTitleLength): WithErrorValue<{ declarations: ____Declaration[]; lawRefs: ____LawRef[]; }>

Defined in: core/src/analyzer/detectDeclarations/index.ts:17 

Parameters

elToBeModified

StdEL | __EL

sentenceEnv

SentenceEnv

sentenceEnvsStruct

SentenceEnvsStruct

pointerEnvsStruct

PointerEnvsStruct

lawTitleLength

(lawNum) => number | null

Returns

WithErrorValue<{ declarations: ____Declaration[]; lawRefs: ____LawRef[]; }>


detectDeclarationsBySentence()

detectDeclarationsBySentence(sentenceEnv, sentenceEnvsStruct, pointerEnvsStruct, lawTitleLength): WithErrorValue<{ declarations: ____Declaration[]; lawRefs: ____LawRef[]; }>

Defined in: core/src/analyzer/detectDeclarations/index.ts:92 

Parameters

sentenceEnv

SentenceEnv

sentenceEnvsStruct

SentenceEnvsStruct

pointerEnvsStruct

PointerEnvsStruct

lawTitleLength

(lawNum) => number | null

Returns

WithErrorValue<{ declarations: ____Declaration[]; lawRefs: ____LawRef[]; }>

References

default

Renames and re-exports detectDeclarations

© 2017-2026 yamachi