Library
core
src
node
container
Readme

Lawtext core referencesDocs


Lawtext core references / core/src/node/container

core/src/node/container

Index

Classes

Interfaces

Enumerations

ContainerType

Enumeration Members

ARTICLES

ARTICLES: "ARTICLES"

Defined in

core/src/node/container/index.ts:8 (opens in a new tab)


ROOT

ROOT: "ROOT"

Defined in

core/src/node/container/index.ts:6 (opens in a new tab)


SENTENCES

SENTENCES: "SENTENCES"

Defined in

core/src/node/container/index.ts:9 (opens in a new tab)


TOPLEVEL

TOPLEVEL: "TOPLEVEL"

Defined in

core/src/node/container/index.ts:7 (opens in a new tab)

Variables

articlesContainerTags

const articlesContainerTags: ("Part" | "Chapter" | "Section" | "Subsection" | "Division" | "SupplProvisionAppdxTable" | "SupplProvisionAppdxStyle" | "SupplProvisionAppdx")[]

Defined in

core/src/node/container/index.ts:16 (opens in a new tab)


containerTags

const containerTags: readonly ["Law", "EnactStatement", "Preamble", "MainProvision", "SupplProvision", "AppdxFig", "AppdxStyle", "AppdxFormat", "AppdxTable", "AppdxNote", "Appdx", "Part" | "Chapter" | "Section" | "Subsection" | "Division" | "SupplProvisionAppdxTable" | "SupplProvisionAppdxStyle" | "SupplProvisionAppdx", "Article", "Paragraph", "Item", "Subitem1", "Subitem2", "Subitem3", "Subitem4", "Subitem5", "Subitem6", "Subitem7", "Subitem8", "Subitem9", "Subitem10", "Table", "TableRow", "TableColumn"]

Defined in

core/src/node/container/index.ts:26 (opens in a new tab)


rootContainerTags

const rootContainerTags: readonly ["Law"]

Defined in

core/src/node/container/index.ts:12 (opens in a new tab)


sentencesContainerTags

const sentencesContainerTags: readonly ["Article", "Paragraph", "Item", "Subitem1", "Subitem2", "Subitem3", "Subitem4", "Subitem5", "Subitem6", "Subitem7", "Subitem8", "Subitem9", "Subitem10", "Table", "TableRow", "TableColumn"]

Defined in

core/src/node/container/index.ts:18 (opens in a new tab)


toplevelContainerTags

const toplevelContainerTags: readonly ["EnactStatement", "Preamble", "MainProvision", "SupplProvision", "AppdxFig", "AppdxStyle", "AppdxFormat", "AppdxTable", "AppdxNote", "Appdx"]

Defined in

core/src/node/container/index.ts:14 (opens in a new tab)

Functions

getContainerType()

getContainerType(tag): ContainerType

Parameters

tag: string

Returns

ContainerType

Defined in

core/src/node/container/index.ts:33 (opens in a new tab)