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, lawNumsByLawTitle?, lawTitleByLawNum?): WithErrorValue<{ declarations: Declarations; lawRefByDeclarationID: Map<string, ____LawRef>; lawRefs: ____LawRef[]; }>

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

Parameters

sentenceEnvsStruct

SentenceEnvsStruct

pointerEnvsStruct

PointerEnvsStruct

lawTitleLength

(lawNum) => number | null

lawNumsByLawTitle?

LawNumsByLawTitle | null = null

lawTitleByLawNum?

LawTitleByLawNum | null = null

Returns

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


detectDeclarationsByEL()

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

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

Parameters

elToBeModified

StdEL | __EL

sentenceEnv

SentenceEnv

sentenceEnvsStruct

SentenceEnvsStruct

pointerEnvsStruct

PointerEnvsStruct

lawTitleLength

(lawNum) => number | null

lawTitleByLawNum?

LawTitleByLawNum | null = null

Returns

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


detectDeclarationsBySentence()

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

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

Parameters

sentenceEnv

SentenceEnv

sentenceEnvsStruct

SentenceEnvsStruct

pointerEnvsStruct

PointerEnvsStruct

lawTitleLength

(lawNum) => number | null

lawTitleByLawNum?

LawTitleByLawNum | null = null

lawNumsByLawTitle?

LawNumsByLawTitle | null = null

Returns

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

References

default

Renames and re-exports detectDeclarations

© 2017-2026 yamachi