Lawtext core references / core/src/law/std/helpers
Module: core/src/law/std/helpers
Table of contents
Enumerations
Type Aliases
- AppdxItem
- AppdxItemTitle
- ArticleGroup
- ArticleGroupTitle
- ListOrSublist
- ListOrSublistSentence
- NoteLike
- NoteLikeStruct
- NoteLikeStructTitle
- ParagraphItem
- ParagraphItemSentence
- ParagraphItemTitle
- SupplProvisionAppdxItem
- SupplProvisionAppdxItemTitle
- TOCArticleGroup
- TOCItem
Variables
- appdxItemTags
- appdxItemTitleTags
- articleGroupTags
- articleGroupTitleTags
- articleGroupTypeChars
- eras
- listOrSublistSentenceTags
- listOrSublistTags
- listTags
- noteLikeStructTags
- noteLikeStructTitleTags
- noteLikeTags
- paragraphItemSentenceTags
- paragraphItemTags
- paragraphItemTitleTags
- supplProvisionAppdxItemTags
- supplProvisionAppdxItemTitleTags
- tocArticleGroupTags
- tocItemTags
- typeCharsMap
Functions
- isAppdxItem
- isAppdxItemTitle
- isArticleGroup
- isArticleGroupTitle
- isListOrSublist
- isListOrSublistSentence
- isNoteLike
- isNoteLikeStruct
- isNoteLikeStructTitle
- isParagraphItem
- isParagraphItemSentence
- isParagraphItemTitle
- isSupplProvisionAppdxItem
- isSupplProvisionAppdxItemTitle
- isTOCArticleGroup
- isTOCItem
Type Aliases
AppdxItem
Ƭ AppdxItem: AppdxFig
| AppdxStyle
| AppdxFormat
| AppdxTable
| AppdxNote
| Appdx
Defined in
core/src/law/std/helpers.ts:293 (opens in a new tab)
AppdxItemTitle
Ƭ AppdxItemTitle: AppdxFigTitle
| AppdxStyleTitle
| AppdxFormatTitle
| AppdxTableTitle
| AppdxNoteTitle
| ArithFormulaNum
Defined in
core/src/law/std/helpers.ts:314 (opens in a new tab)
ArticleGroup
Ƭ ArticleGroup: Part
| Chapter
| Section
| Subsection
| Division
Defined in
core/src/law/std/helpers.ts:137 (opens in a new tab)
ArticleGroupTitle
Ƭ ArticleGroupTitle: PartTitle
| ChapterTitle
| SectionTitle
| SubsectionTitle
| DivisionTitle
Defined in
core/src/law/std/helpers.ts:156 (opens in a new tab)
ListOrSublist
Ƭ ListOrSublist: List
| Sublist1
| Sublist2
| Sublist3
Defined in
core/src/law/std/helpers.ts:212 (opens in a new tab)
ListOrSublistSentence
Ƭ ListOrSublistSentence: ListSentence
| Sublist1Sentence
| Sublist2Sentence
| Sublist3Sentence
Defined in
core/src/law/std/helpers.ts:229 (opens in a new tab)
NoteLike
Ƭ NoteLike: Note
| Style
| Format
Defined in
core/src/law/std/helpers.ts:245 (opens in a new tab)
NoteLikeStruct
Ƭ NoteLikeStruct: NoteStruct
| StyleStruct
| FormatStruct
Defined in
core/src/law/std/helpers.ts:260 (opens in a new tab)
NoteLikeStructTitle
Ƭ NoteLikeStructTitle: NoteStructTitle
| StyleStructTitle
| FormatStructTitle
Defined in
core/src/law/std/helpers.ts:275 (opens in a new tab)
ParagraphItem
Ƭ ParagraphItem: Paragraph
| Item
| Subitem1
| Subitem2
| Subitem3
| Subitem4
| Subitem5
| Subitem6
| Subitem7
| Subitem8
| Subitem9
| Subitem10
Defined in
core/src/law/std/helpers.ts:33 (opens in a new tab)
ParagraphItemSentence
Ƭ ParagraphItemSentence: ParagraphSentence
| ItemSentence
| Subitem1Sentence
| Subitem2Sentence
| Subitem3Sentence
| Subitem4Sentence
| Subitem5Sentence
| Subitem6Sentence
| Subitem7Sentence
| Subitem8Sentence
| Subitem9Sentence
| Subitem10Sentence
Defined in
core/src/law/std/helpers.ts:99 (opens in a new tab)
ParagraphItemTitle
Ƭ ParagraphItemTitle: ParagraphNum
| ItemTitle
| Subitem1Title
| Subitem2Title
| Subitem3Title
| Subitem4Title
| Subitem5Title
| Subitem6Title
| Subitem7Title
| Subitem8Title
| Subitem9Title
| Subitem10Title
Defined in
core/src/law/std/helpers.ts:66 (opens in a new tab)
SupplProvisionAppdxItem
Ƭ SupplProvisionAppdxItem: SupplProvisionAppdxTable
| SupplProvisionAppdxStyle
| SupplProvisionAppdx
Defined in
core/src/law/std/helpers.ts:332 (opens in a new tab)
SupplProvisionAppdxItemTitle
Ƭ SupplProvisionAppdxItemTitle: SupplProvisionAppdxTableTitle
| SupplProvisionAppdxStyleTitle
| ArithFormulaNum
Defined in
core/src/law/std/helpers.ts:347 (opens in a new tab)
TOCArticleGroup
Ƭ TOCArticleGroup: TOCPart
| TOCChapter
| TOCSection
| TOCSubsection
| TOCDivision
Defined in
core/src/law/std/helpers.ts:175 (opens in a new tab)
TOCItem
Ƭ TOCItem: TOCArticleGroup
| TOCPreambleLabel
| TOCArticle
| TOCSupplProvision
| TOCAppdxTableLabel
Defined in
core/src/law/std/helpers.ts:194 (opens in a new tab)
Variables
appdxItemTags
• Const
appdxItemTags: readonly ["AppdxFig"
, "AppdxStyle"
, "AppdxFormat"
, "AppdxTable"
, "AppdxNote"
, "Appdx"
]
Defined in
core/src/law/std/helpers.ts:284 (opens in a new tab)
appdxItemTitleTags
• Const
appdxItemTitleTags: readonly ["AppdxFigTitle"
, "AppdxStyleTitle"
, "AppdxFormatTitle"
, "AppdxTableTitle"
, "AppdxNoteTitle"
, "ArithFormulaNum"
]
Defined in
core/src/law/std/helpers.ts:305 (opens in a new tab)
articleGroupTags
• Const
articleGroupTags: readonly ["Part"
, "Chapter"
, "Section"
, "Subsection"
, "Division"
]
Defined in
core/src/law/std/helpers.ts:129 (opens in a new tab)
articleGroupTitleTags
• Const
articleGroupTitleTags: readonly ["PartTitle"
, "ChapterTitle"
, "SectionTitle"
, "SubsectionTitle"
, "DivisionTitle"
]
Defined in
core/src/law/std/helpers.ts:148 (opens in a new tab)
articleGroupTypeChars
• Const
articleGroupTypeChars: readonly ["編"
, "章"
, "節"
, "款"
, "目"
]
Defined in
core/src/law/std/helpers.ts:127 (opens in a new tab)
eras
• Const
eras: Object
Type declaration
Name | Type |
---|---|
令和 | Reiwa |
大正 | Taisho |
平成 | Heisei |
明治 | Meiji |
昭和 | Showa |
Defined in
core/src/law/std/helpers.ts:12 (opens in a new tab)
listOrSublistSentenceTags
• Const
listOrSublistSentenceTags: readonly ["ListSentence"
, "Sublist1Sentence"
, "Sublist2Sentence"
, "Sublist3Sentence"
]
Defined in
core/src/law/std/helpers.ts:222 (opens in a new tab)
listOrSublistTags
• Const
listOrSublistTags: readonly ["List"
, "Sublist1"
, "Sublist2"
, "Sublist3"
]
Defined in
core/src/law/std/helpers.ts:205 (opens in a new tab)
listTags
• Const
listTags: readonly ["List"
, "Sublist1"
, "Sublist2"
, "Sublist3"
]
Defined in
core/src/law/std/helpers.ts:118 (opens in a new tab)
noteLikeStructTags
• Const
noteLikeStructTags: readonly ["NoteStruct"
, "StyleStruct"
, "FormatStruct"
]
Defined in
core/src/law/std/helpers.ts:254 (opens in a new tab)
noteLikeStructTitleTags
• Const
noteLikeStructTitleTags: readonly ["NoteStructTitle"
, "StyleStructTitle"
, "FormatStructTitle"
]
Defined in
core/src/law/std/helpers.ts:269 (opens in a new tab)
noteLikeTags
• Const
noteLikeTags: readonly ["Note"
, "Style"
, "Format"
]
Defined in
core/src/law/std/helpers.ts:239 (opens in a new tab)
paragraphItemSentenceTags
• Const
paragraphItemSentenceTags: readonly ["ParagraphSentence"
, "ItemSentence"
, "Subitem1Sentence"
, "Subitem2Sentence"
, "Subitem3Sentence"
, "Subitem4Sentence"
, "Subitem5Sentence"
, "Subitem6Sentence"
, "Subitem7Sentence"
, "Subitem8Sentence"
, "Subitem9Sentence"
, "Subitem10Sentence"
]
Defined in
core/src/law/std/helpers.ts:84 (opens in a new tab)
paragraphItemTags
• Const
paragraphItemTags: readonly ["Paragraph"
, "Item"
, "Subitem1"
, "Subitem2"
, "Subitem3"
, "Subitem4"
, "Subitem5"
, "Subitem6"
, "Subitem7"
, "Subitem8"
, "Subitem9"
, "Subitem10"
]
Defined in
core/src/law/std/helpers.ts:18 (opens in a new tab)
paragraphItemTitleTags
• Const
paragraphItemTitleTags: readonly ["ParagraphNum"
, "ItemTitle"
, "Subitem1Title"
, "Subitem2Title"
, "Subitem3Title"
, "Subitem4Title"
, "Subitem5Title"
, "Subitem6Title"
, "Subitem7Title"
, "Subitem8Title"
, "Subitem9Title"
, "Subitem10Title"
]
Defined in
core/src/law/std/helpers.ts:51 (opens in a new tab)
supplProvisionAppdxItemTags
• Const
supplProvisionAppdxItemTags: readonly ["SupplProvisionAppdxTable"
, "SupplProvisionAppdxStyle"
, "SupplProvisionAppdx"
]
Defined in
core/src/law/std/helpers.ts:326 (opens in a new tab)
supplProvisionAppdxItemTitleTags
• Const
supplProvisionAppdxItemTitleTags: readonly ["SupplProvisionAppdxTableTitle"
, "SupplProvisionAppdxStyleTitle"
, "ArithFormulaNum"
]
Defined in
core/src/law/std/helpers.ts:341 (opens in a new tab)
tocArticleGroupTags
• Const
tocArticleGroupTags: readonly ["TOCPart"
, "TOCChapter"
, "TOCSection"
, "TOCSubsection"
, "TOCDivision"
]
Defined in
core/src/law/std/helpers.ts:167 (opens in a new tab)
tocItemTags
• Const
tocItemTags: readonly ["TOCPart"
, "TOCChapter"
, "TOCSection"
, "TOCSubsection"
, "TOCDivision"
, "TOCPreambleLabel"
, "TOCArticle"
, "TOCSupplProvision"
, "TOCAppdxTableLabel"
]
Defined in
core/src/law/std/helpers.ts:186 (opens in a new tab)
typeCharsMap
• Const
typeCharsMap: Object
Type declaration
Name | Type |
---|---|
則 | "SupplProvision" |
号 | "Item" |
条 | "Article" |
款 | "Subsection" |
目 | "Division" |
章 | "Chapter" |
節 | "Section" |
編 | "Part" |
項 | "Paragraph" |
Defined in
core/src/law/std/helpers.ts:121 (opens in a new tab)
Functions
isAppdxItem
▸ isAppdxItem(el
): el is AppdxItem
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is AppdxItem
Defined in
core/src/law/std/helpers.ts:302 (opens in a new tab)
isAppdxItemTitle
▸ isAppdxItemTitle(el
): el is AppdxItemTitle
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is AppdxItemTitle
Defined in
core/src/law/std/helpers.ts:323 (opens in a new tab)
isArticleGroup
▸ isArticleGroup(el
): el is ArticleGroup
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is ArticleGroup
Defined in
core/src/law/std/helpers.ts:145 (opens in a new tab)
isArticleGroupTitle
▸ isArticleGroupTitle(el
): el is ArticleGroupTitle
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is ArticleGroupTitle
Defined in
core/src/law/std/helpers.ts:164 (opens in a new tab)
isListOrSublist
▸ isListOrSublist(el
): el is ListOrSublist
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is ListOrSublist
Defined in
core/src/law/std/helpers.ts:219 (opens in a new tab)
isListOrSublistSentence
▸ isListOrSublistSentence(el
): el is ListOrSublistSentence
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is ListOrSublistSentence
Defined in
core/src/law/std/helpers.ts:236 (opens in a new tab)
isNoteLike
▸ isNoteLike(el
): el is NoteLike
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is NoteLike
Defined in
core/src/law/std/helpers.ts:251 (opens in a new tab)
isNoteLikeStruct
▸ isNoteLikeStruct(el
): el is NoteLikeStruct
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is NoteLikeStruct
Defined in
core/src/law/std/helpers.ts:266 (opens in a new tab)
isNoteLikeStructTitle
▸ isNoteLikeStructTitle(el
): el is NoteLikeStructTitle
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is NoteLikeStructTitle
Defined in
core/src/law/std/helpers.ts:281 (opens in a new tab)
isParagraphItem
▸ isParagraphItem(el
): el is ParagraphItem
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is ParagraphItem
Defined in
core/src/law/std/helpers.ts:48 (opens in a new tab)
isParagraphItemSentence
▸ isParagraphItemSentence(el
): el is ParagraphItemSentence
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is ParagraphItemSentence
Defined in
core/src/law/std/helpers.ts:114 (opens in a new tab)
isParagraphItemTitle
▸ isParagraphItemTitle(el
): el is ParagraphItemTitle
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is ParagraphItemTitle
Defined in
core/src/law/std/helpers.ts:81 (opens in a new tab)
isSupplProvisionAppdxItem
▸ isSupplProvisionAppdxItem(el
): el is SupplProvisionAppdxItem
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is SupplProvisionAppdxItem
Defined in
core/src/law/std/helpers.ts:338 (opens in a new tab)
isSupplProvisionAppdxItemTitle
▸ isSupplProvisionAppdxItemTitle(el
): el is SupplProvisionAppdxItemTitle
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is SupplProvisionAppdxItemTitle
Defined in
core/src/law/std/helpers.ts:353 (opens in a new tab)
isTOCArticleGroup
▸ isTOCArticleGroup(el
): el is TOCArticleGroup
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is TOCArticleGroup
Defined in
core/src/law/std/helpers.ts:183 (opens in a new tab)
isTOCItem
▸ isTOCItem(el
): el is TOCItem
Parameters
Name | Type |
---|---|
el | string | EL |
Returns
el is TOCItem