Lawtext core references / core/src/law/std/helpers
core/src/law/std/helpers
Enumerations
Era
Defined in: core/src/law/std/helpers.ts:5
Enumeration Members
Heisei
Heisei:
"Heisei"
Defined in: core/src/law/std/helpers.ts:9
Meiji
Meiji:
"Meiji"
Defined in: core/src/law/std/helpers.ts:6
Reiwa
Reiwa:
"Reiwa"
Defined in: core/src/law/std/helpers.ts:10
Showa
Showa:
"Showa"
Defined in: core/src/law/std/helpers.ts:8
Taisho
Taisho:
"Taisho"
Defined in: core/src/law/std/helpers.ts:7
Type Aliases
AppdxItem
AppdxItem =
AppdxFig|AppdxStyle|AppdxFormat|AppdxTable|AppdxNote|Appdx
Defined in: core/src/law/std/helpers.ts:295
AppdxItemTitle
AppdxItemTitle =
AppdxFigTitle|AppdxStyleTitle|AppdxFormatTitle|AppdxTableTitle|AppdxNoteTitle|ArithFormulaNum
Defined in: core/src/law/std/helpers.ts:316
ArticleGroup
ArticleGroup =
Part|Chapter|Section|Subsection|Division
Defined in: core/src/law/std/helpers.ts:139
ArticleGroupTitle
ArticleGroupTitle =
PartTitle|ChapterTitle|SectionTitle|SubsectionTitle|DivisionTitle
Defined in: core/src/law/std/helpers.ts:158
ListOrSublist
Defined in: core/src/law/std/helpers.ts:214
ListOrSublistSentence
ListOrSublistSentence =
ListSentence|Sublist1Sentence|Sublist2Sentence|Sublist3Sentence
Defined in: core/src/law/std/helpers.ts:231
NoteLike
Defined in: core/src/law/std/helpers.ts:247
NoteLikeStruct
NoteLikeStruct =
NoteStruct|StyleStruct|FormatStruct
Defined in: core/src/law/std/helpers.ts:262
NoteLikeStructTitle
NoteLikeStructTitle =
NoteStructTitle|StyleStructTitle|FormatStructTitle
Defined in: core/src/law/std/helpers.ts:277
ParagraphItem
ParagraphItem =
Paragraph|Item|Subitem1|Subitem2|Subitem3|Subitem4|Subitem5|Subitem6|Subitem7|Subitem8|Subitem9|Subitem10
Defined in: core/src/law/std/helpers.ts:34
ParagraphItemSentence
ParagraphItemSentence =
ParagraphSentence|ItemSentence|Subitem1Sentence|Subitem2Sentence|Subitem3Sentence|Subitem4Sentence|Subitem5Sentence|Subitem6Sentence|Subitem7Sentence|Subitem8Sentence|Subitem9Sentence|Subitem10Sentence
Defined in: core/src/law/std/helpers.ts:100
ParagraphItemTitle
ParagraphItemTitle =
ParagraphNum|ItemTitle|Subitem1Title|Subitem2Title|Subitem3Title|Subitem4Title|Subitem5Title|Subitem6Title|Subitem7Title|Subitem8Title|Subitem9Title|Subitem10Title
Defined in: core/src/law/std/helpers.ts:67
SupplProvisionAppdxItem
SupplProvisionAppdxItem =
SupplProvisionAppdxTable|SupplProvisionAppdxStyle|SupplProvisionAppdx
Defined in: core/src/law/std/helpers.ts:334
SupplProvisionAppdxItemTitle
SupplProvisionAppdxItemTitle =
SupplProvisionAppdxTableTitle|SupplProvisionAppdxStyleTitle|ArithFormulaNum
Defined in: core/src/law/std/helpers.ts:349
TOCArticleGroup
TOCArticleGroup =
TOCPart|TOCChapter|TOCSection|TOCSubsection|TOCDivision
Defined in: core/src/law/std/helpers.ts:177
TOCItem
TOCItem =
TOCArticleGroup|TOCPreambleLabel|TOCArticle|TOCSupplProvision|TOCAppdxTableLabel
Defined in: core/src/law/std/helpers.ts:196
Variables
appdxItemTags
constappdxItemTags: readonly ["AppdxFig","AppdxStyle","AppdxFormat","AppdxTable","AppdxNote","Appdx"]
Defined in: core/src/law/std/helpers.ts:286
appdxItemTitleTags
constappdxItemTitleTags: readonly ["AppdxFigTitle","AppdxStyleTitle","AppdxFormatTitle","AppdxTableTitle","AppdxNoteTitle","ArithFormulaNum"]
Defined in: core/src/law/std/helpers.ts:307
articleGroupTags
constarticleGroupTags: readonly ["Part","Chapter","Section","Subsection","Division"]
Defined in: core/src/law/std/helpers.ts:131
articleGroupTitleTags
constarticleGroupTitleTags: readonly ["PartTitle","ChapterTitle","SectionTitle","SubsectionTitle","DivisionTitle"]
Defined in: core/src/law/std/helpers.ts:150
articleGroupTypeChars
constarticleGroupTypeChars: readonly ["編","章","節","款","目"]
Defined in: core/src/law/std/helpers.ts:129
eras
consteras:object
Defined in: core/src/law/std/helpers.ts:13
Type Declaration
令和
readonly令和:Reiwa=Era.Reiwa
大正
readonly大正:Taisho=Era.Taisho
平成
readonly平成:Heisei=Era.Heisei
明治
readonly明治:Meiji=Era.Meiji
昭和
readonly昭和:Showa=Era.Showa
listOrSublistSentenceTags
constlistOrSublistSentenceTags: readonly ["ListSentence","Sublist1Sentence","Sublist2Sentence","Sublist3Sentence"]
Defined in: core/src/law/std/helpers.ts:224
listOrSublistTags
constlistOrSublistTags: readonly ["List","Sublist1","Sublist2","Sublist3"]
Defined in: core/src/law/std/helpers.ts:207
listTags
constlistTags: readonly ["List","Sublist1","Sublist2","Sublist3"]
Defined in: core/src/law/std/helpers.ts:119
noteLikeStructTags
constnoteLikeStructTags: readonly ["NoteStruct","StyleStruct","FormatStruct"]
Defined in: core/src/law/std/helpers.ts:256
noteLikeStructTitleTags
constnoteLikeStructTitleTags: readonly ["NoteStructTitle","StyleStructTitle","FormatStructTitle"]
Defined in: core/src/law/std/helpers.ts:271
noteLikeTags
constnoteLikeTags: readonly ["Note","Style","Format"]
Defined in: core/src/law/std/helpers.ts:241
paragraphItemSentenceTags
constparagraphItemSentenceTags: readonly ["ParagraphSentence","ItemSentence","Subitem1Sentence","Subitem2Sentence","Subitem3Sentence","Subitem4Sentence","Subitem5Sentence","Subitem6Sentence","Subitem7Sentence","Subitem8Sentence","Subitem9Sentence","Subitem10Sentence"]
Defined in: core/src/law/std/helpers.ts:85
paragraphItemTags
constparagraphItemTags: readonly ["Paragraph","Item","Subitem1","Subitem2","Subitem3","Subitem4","Subitem5","Subitem6","Subitem7","Subitem8","Subitem9","Subitem10"]
Defined in: core/src/law/std/helpers.ts:19
paragraphItemTitleTags
constparagraphItemTitleTags: readonly ["ParagraphNum","ItemTitle","Subitem1Title","Subitem2Title","Subitem3Title","Subitem4Title","Subitem5Title","Subitem6Title","Subitem7Title","Subitem8Title","Subitem9Title","Subitem10Title"]
Defined in: core/src/law/std/helpers.ts:52
supplProvisionAppdxItemTags
constsupplProvisionAppdxItemTags: readonly ["SupplProvisionAppdxTable","SupplProvisionAppdxStyle","SupplProvisionAppdx"]
Defined in: core/src/law/std/helpers.ts:328
supplProvisionAppdxItemTitleTags
constsupplProvisionAppdxItemTitleTags: readonly ["SupplProvisionAppdxTableTitle","SupplProvisionAppdxStyleTitle","ArithFormulaNum"]
Defined in: core/src/law/std/helpers.ts:343
tocArticleGroupTags
consttocArticleGroupTags: readonly ["TOCPart","TOCChapter","TOCSection","TOCSubsection","TOCDivision"]
Defined in: core/src/law/std/helpers.ts:169
tocItemTags
consttocItemTags: readonly ["TOCPart","TOCChapter","TOCSection","TOCSubsection","TOCDivision","TOCPreambleLabel","TOCArticle","TOCSupplProvision","TOCAppdxTableLabel"]
Defined in: core/src/law/std/helpers.ts:188
typeCharsMap
consttypeCharsMap:object
Defined in: core/src/law/std/helpers.ts:122
Type Declaration
則
readonly則:"SupplProvision"="SupplProvision"
号
readonly号:"Item"="Item"
条
readonly条:"Article"="Article"
款
readonly款:"Subsection"="Subsection"
法
readonly法:"Law"="Law"
目
readonly目:"Division"="Division"
節
readonly節:"Section"="Section"
編
readonly編:"Part"="Part"
章
readonly章:"Chapter"="Chapter"
項
readonly項:"Paragraph"="Paragraph"
Functions
isAppdxItem()
isAppdxItem(
el):el is AppdxItem
Defined in: core/src/law/std/helpers.ts:304
Parameters
el
string | EL
Returns
el is AppdxItem
isAppdxItemTitle()
isAppdxItemTitle(
el):el is AppdxItemTitle
Defined in: core/src/law/std/helpers.ts:325
Parameters
el
string | EL
Returns
el is AppdxItemTitle
isArticleGroup()
isArticleGroup(
el):el is ArticleGroup
Defined in: core/src/law/std/helpers.ts:147
Parameters
el
string | EL
Returns
el is ArticleGroup
isArticleGroupTitle()
isArticleGroupTitle(
el):el is ArticleGroupTitle
Defined in: core/src/law/std/helpers.ts:166
Parameters
el
string | EL
Returns
el is ArticleGroupTitle
isListOrSublist()
isListOrSublist(
el):el is ListOrSublist
Defined in: core/src/law/std/helpers.ts:221
Parameters
el
string | EL
Returns
el is ListOrSublist
isListOrSublistSentence()
isListOrSublistSentence(
el):el is ListOrSublistSentence
Defined in: core/src/law/std/helpers.ts:238
Parameters
el
string | EL
Returns
el is ListOrSublistSentence
isNoteLike()
isNoteLike(
el):el is NoteLike
Defined in: core/src/law/std/helpers.ts:253
Parameters
el
string | EL
Returns
el is NoteLike
isNoteLikeStruct()
isNoteLikeStruct(
el):el is NoteLikeStruct
Defined in: core/src/law/std/helpers.ts:268
Parameters
el
string | EL
Returns
el is NoteLikeStruct
isNoteLikeStructTitle()
isNoteLikeStructTitle(
el):el is NoteLikeStructTitle
Defined in: core/src/law/std/helpers.ts:283
Parameters
el
string | EL
Returns
el is NoteLikeStructTitle
isParagraphItem()
isParagraphItem(
el):el is ParagraphItem
Defined in: core/src/law/std/helpers.ts:49
Parameters
el
string | EL
Returns
el is ParagraphItem
isParagraphItemSentence()
isParagraphItemSentence(
el):el is ParagraphItemSentence
Defined in: core/src/law/std/helpers.ts:115
Parameters
el
string | EL
Returns
el is ParagraphItemSentence
isParagraphItemTitle()
isParagraphItemTitle(
el):el is ParagraphItemTitle
Defined in: core/src/law/std/helpers.ts:82
Parameters
el
string | EL
Returns
el is ParagraphItemTitle
isSupplProvisionAppdxItem()
isSupplProvisionAppdxItem(
el):el is SupplProvisionAppdxItem
Defined in: core/src/law/std/helpers.ts:340
Parameters
el
string | EL
Returns
el is SupplProvisionAppdxItem
isSupplProvisionAppdxItemTitle()
isSupplProvisionAppdxItemTitle(
el):el is SupplProvisionAppdxItemTitle
Defined in: core/src/law/std/helpers.ts:355
Parameters
el
string | EL
Returns
el is SupplProvisionAppdxItemTitle
isTOCArticleGroup()
isTOCArticleGroup(
el):el is TOCArticleGroup
Defined in: core/src/law/std/helpers.ts:185
Parameters
el
string | EL
Returns
el is TOCArticleGroup
isTOCItem()
isTOCItem(
el):el is TOCItem
Defined in: core/src/law/std/helpers.ts:204
Parameters
el
string | EL
Returns
el is TOCItem