Lawtext core references • Docs
Lawtext core references / core/src/analyzer/detectDeclarations
core/src/analyzer/detectDeclarations
References
default
Renames and re-exports detectDeclarations
Functions
detectDeclarations()
detectDeclarations(
sentenceEnvsStruct
,pointerEnvsStruct
,lawTitleLength
):WithErrorValue
<object
>
Parameters
• sentenceEnvsStruct: SentenceEnvsStruct
• pointerEnvsStruct: PointerEnvsStruct
• lawTitleLength
Returns
WithErrorValue
<object
>
declarations
declarations:
Declarations
lawRefByDeclarationID
lawRefByDeclarationID:
Map
<string
,____LawRef
>
Defined in
core/src/analyzer/detectDeclarations/index.ts:138 (opens in a new tab)
detectDeclarationsByEL()
detectDeclarationsByEL(
elToBeModified
,sentenceEnv
,sentenceEnvsStruct
,pointerEnvsStruct
,lawTitleLength
):WithErrorValue
<object
>
Parameters
• elToBeModified: StdEL
| __EL
• sentenceEnv: SentenceEnv
• sentenceEnvsStruct: SentenceEnvsStruct
• pointerEnvsStruct: PointerEnvsStruct
• lawTitleLength
Returns
WithErrorValue
<object
>
declarations
declarations:
____Declaration
[]
lawRefs
lawRefs:
____LawRef
[]
Defined in
core/src/analyzer/detectDeclarations/index.ts:17 (opens in a new tab)
detectDeclarationsBySentence()
detectDeclarationsBySentence(
sentenceEnv
,sentenceEnvsStruct
,pointerEnvsStruct
,lawTitleLength
):WithErrorValue
<object
>
Parameters
• sentenceEnv: SentenceEnv
• sentenceEnvsStruct: SentenceEnvsStruct
• pointerEnvsStruct: PointerEnvsStruct
• lawTitleLength
Returns
WithErrorValue
<object
>
declarations
declarations:
____Declaration
[]
lawRefs
lawRefs:
____LawRef
[]
Defined in
core/src/analyzer/detectDeclarations/index.ts:92 (opens in a new tab)