Skip to main content
Module

x/document_ir/index.ts>IdentityTransformer

Intermediate Representation for content
Go to Latest
class IdentityTransformer
import { IdentityTransformer } from "https://deno.land/x/document_ir@0.0.9/index.ts";

Methods

protected
afterBlock(): Promise<void>
protected
afterInline(): Promise<void>
protected
array(node: ArrayNode): Promise<Node | null>
protected
beforeBlock(): Promise<void>
protected
beforeInline(): Promise<void>
protected
block(node: BlockNode): Promise<Node | null>
protected
blockQuote(node: BlockQuoteNode): Promise<Node | null>
protected
bold(node: BoldNode): Promise<Node | null>
protected
break_(_node: BreakNode): Promise<Node | null>
protected
bubble(node: BubbleNode): Promise<Node | null>
protected
card(node: CardNode): Promise<Node | null>
protected
center(node: CenterNode): Promise<Node | null>
protected
choose(node: Node): Promise<Node | null>
protected
chooseChildren(nodes: Node[]): Promise<Node[]>
protected
code(node: CodeNode): Promise<Node | null>
protected
columns(node: ColumnsNode): Promise<Node | null>
protected
definition(node: DefinitionNode): Promise<DefinitionNode | null>
protected
definitionList(node: DefinitionListNode): Promise<Node | null>
protected
definitionReference(node: DefinitionReferenceNode): Promise<Node | null>
protected
document(node: DocumentNode): Promise<DocumentNode>
protected
embed(node: EmbedNode): Promise<Node | null>
protected
emoji(node: EmojiNode): Promise<Node | null>
protected
figure(node: FigureNode): Promise<Node | null>
protected
figureCaption(node: FigureCaptionNode): Promise<Node | null>
protected
figureImage(node: FigureImageNode): Promise<Node | null>
protected
formattedText(node: FormattedTextNode): Promise<Node | null>
protected
header(node: HeaderNode): Promise<Node | null>
protected
highTechAlert(node: HighTechAlertNode): Promise<Node | null>
protected
horizontalRule(_node: HorizontalRuleNode): Promise<Node | null>
protected
image(node: ImageNode): Promise<Node | null>
protected
italic(node: ItalicNode): Promise<Node | null>
protected
list(node: ListNode): Promise<Node | null>
protected
note(node: NoteNode): Promise<Node | null>
protected
paragraph(node: ParagraphNode): Promise<Node | null>
protected
quote(node: QuoteNode): Promise<Node | null>
protected
redacted(node: RedactedNode): Promise<Node | null>
protected
region(node: RegionNode): Promise<Node | null>
protected
script(node: ScriptNode): Promise<Node | null>
protected
secret(node: SecretNode): Promise<Node | null>
protected
smaller(node: SmallerNode): Promise<Node | null>
protected
social(node: SocialNode): Promise<Node | null>
protected
sticker(node: StickerNode): Promise<Node | null>
protected
strikeThrough(node: StrikeThroughNode): Promise<Node | null>
protected
table(node: TableNode): Promise<Node | null>
protected
text(node: TextNode): Promise<Node | null>
protected
underline(node: UnderlineNode): Promise<Node | null>
protected
video(node: VideoNode): Promise<Node | null>
protected
warning(node: WarningNode): Promise<Node | null>