Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReconStructureWriter

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

isAttr

  • isAttr(item: Item): boolean
  • Parameters

    Returns boolean

isBlockSafe

  • Parameters

    Returns boolean

isBool

  • isBool(item: Item): boolean
  • Parameters

    Returns boolean

isExpression

  • isExpression(item: Item): boolean
  • Parameters

    Returns boolean

isExtant

  • isExtant(item: Item): boolean
  • Parameters

    Returns boolean

isField

  • isField(item: Item): boolean
  • Parameters

    Returns boolean

isIdent

  • isIdent(value: string | Item): boolean
  • Parameters

    • value: string | Item

    Returns boolean

isMarkupSafe

  • Parameters

    Returns boolean

isNum

  • isNum(item: Item): boolean
  • Parameters

    Returns boolean

isRecord

  • isRecord(item: Item): boolean
  • Parameters

    Returns boolean

isSlot

  • isSlot(item: Item): boolean
  • Parameters

    Returns boolean

isText

  • isText(item: Item): boolean
  • Parameters

    Returns boolean

isValue

  • isValue(item: Item): boolean
  • Parameters

    Returns boolean

item

  • Parameters

    Returns Item

items

  • Parameters

    Returns Cursor<Item>

key

  • Parameters

    Returns Value

precedence

  • precedence(item: Item): number
  • Parameters

    Returns number

sizeOfAbsent

  • sizeOfAbsent(): number
  • Returns number

sizeOfAttr

  • Parameters

    Returns number

sizeOfBlock

  • sizeOfBlock(item: Item): number
  • sizeOfBlock(items: Cursor<Item>, inBlock: boolean, inMarkup: boolean): number
  • Parameters

    Returns number

  • Parameters

    • items: Cursor<Item>
    • inBlock: boolean
    • inMarkup: boolean

    Returns number

sizeOfBlockItem

  • sizeOfBlockItem(item: Item): number
  • Parameters

    Returns number

sizeOfBlockValue

  • sizeOfBlockValue(value: Value): number
  • Parameters

    Returns number

sizeOfBool

  • sizeOfBool(value: boolean): number
  • Parameters

    • value: boolean

    Returns number

sizeOfChildrenSelector

  • sizeOfChildrenSelector(then: Value): number

sizeOfConditionalOperator

  • sizeOfConditionalOperator(ifTerm: Item, thenTerm: Item, elseTerm: Item, precedence: number): number

sizeOfData

  • sizeOfData(length: number): number
  • Parameters

    • length: number

    Returns number

sizeOfDescendantsSelector

  • sizeOfDescendantsSelector(then: Value): number

sizeOfExtant

  • sizeOfExtant(): number
  • Returns number

sizeOfFilterSelector

  • sizeOfFilterSelector(predicate: Value, then: Value): number

sizeOfFunc

  • sizeOfFunc(func: Func): number
  • Parameters

    Returns number

sizeOfGetAttrSelector

  • sizeOfGetAttrSelector(key: Value, then: Value): number

sizeOfGetItemSelector

  • sizeOfGetItemSelector(index: Value, then: Value): number

sizeOfGetSelector

  • sizeOfGetSelector(key: Value, then: Value): number

sizeOfIdentitySelector

  • sizeOfIdentitySelector(): number

sizeOfInfixOperator

  • sizeOfInfixOperator(lhs: Item, operator: string, rhs: Item, precedence: number): number
  • Parameters

    • lhs: Item
    • operator: string
    • rhs: Item
    • precedence: number

    Returns number

sizeOfInvokeOperator

  • sizeOfInvokeOperator(func: Value, args: Value): number

sizeOfItem

  • sizeOfItem(item: Item): number
  • Parameters

    Returns number

sizeOfKeysSelector

  • sizeOfKeysSelector(then: Value): number
  • Parameters

    Returns number

sizeOfLambdaFunc

  • sizeOfLambdaFunc(bindings: Value, template: Value): number
  • Parameters

    Returns number

sizeOfLiteralSelector

  • sizeOfLiteralSelector(item: Item, then: Value): number

sizeOfMarkupText

  • sizeOfMarkupText(item: string | Item): number
  • Parameters

    • item: string | Item

    Returns number

sizeOfNum

  • sizeOfNum(value: number): number
  • Parameters

    • value: number

    Returns number

sizeOfOperator

  • sizeOfOperator(operator: Operator): number
  • Parameters

    Returns number

sizeOfPrefixOperator

  • sizeOfPrefixOperator(operator: string, rhs: Item, precedence: number): number
  • Parameters

    • operator: string
    • rhs: Item
    • precedence: number

    Returns number

sizeOfPrimary

  • sizeOfPrimary(value: Value): number
  • Parameters

    Returns number

sizeOfRecord

  • sizeOfRecord(item: Item): number
  • Parameters

    Returns number

sizeOfSelector

  • sizeOfSelector(selector: Selector): number
  • Parameters

    Returns number

sizeOfSlot

  • Parameters

    Returns number

sizeOfText

  • sizeOfText(value: string): number
  • Parameters

    • value: string

    Returns number

sizeOfThen

  • sizeOfThen(then: Value): number
  • Parameters

    Returns number

sizeOfThenChildrenSelector

  • sizeOfThenChildrenSelector(then: Value): number

sizeOfThenDescendantsSelector

  • sizeOfThenDescendantsSelector(then: Value): number

sizeOfThenFilterSelector

  • sizeOfThenFilterSelector(predicate: Value, then: Value): number

sizeOfThenGetAttrSelector

  • sizeOfThenGetAttrSelector(key: Value, then: Value): number

sizeOfThenGetItemSelector

  • sizeOfThenGetItemSelector(index: Value, then: Value): number

sizeOfThenGetSelector

  • sizeOfThenGetSelector(key: Value, then: Value): number

sizeOfThenIdentitySelector

  • sizeOfThenIdentitySelector(): number

sizeOfThenKeysSelector

  • sizeOfThenKeysSelector(then: Value): number

sizeOfThenLiteralSelector

  • sizeOfThenLiteralSelector(item: Item, then: Value): number

sizeOfThenValuesSelector

  • sizeOfThenValuesSelector(then: Value): number

sizeOfUint32

  • sizeOfUint32(value: number): number
  • Parameters

    • value: number

    Returns number

sizeOfUint64

  • sizeOfUint64(value: number): number
  • Parameters

    • value: number

    Returns number

sizeOfValue

  • sizeOfValue(value: Value): number
  • Parameters

    Returns number

sizeOfValuesSelector

  • sizeOfValuesSelector(then: Value): number

string

  • string(item: Item): string
  • Parameters

    Returns string

value

  • Parameters

    Returns Value

writeAbsent

  • writeAbsent(output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    Returns Writer<unknown, unknown>

writeAttr

  • Parameters

    Returns Writer<unknown, unknown>

writeBlock

  • writeBlock(item: Item, output: Output<unknown>): Writer<unknown, unknown>
  • writeBlock(items: Cursor<Item>, output: Output<unknown>, inBlock: boolean, inMarkup: boolean): Writer<unknown, unknown>
  • Parameters

    Returns Writer<unknown, unknown>

  • Parameters

    • items: Cursor<Item>
    • output: Output<unknown>
    • inBlock: boolean
    • inMarkup: boolean

    Returns Writer<unknown, unknown>

writeBlockItem

  • Parameters

    Returns Writer<unknown, unknown>

writeBlockValue

  • Parameters

    Returns Writer<unknown, unknown>

writeBool

  • writeBool(value: boolean, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • value: boolean
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

writeChildrenSelector

  • writeChildrenSelector(then: Value, output: Output<unknown>): Writer<unknown, unknown>

writeConditionalOperator

  • writeConditionalOperator(ifTerm: Item, thenTerm: Item, elseTerm: Item, precedence: number, output: Output<unknown>): Writer<unknown, unknown>

writeData

  • writeData(value: undefined | Uint8Array, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • value: undefined | Uint8Array
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

writeDescendantsSelector

  • writeDescendantsSelector(then: Value, output: Output<unknown>): Writer<unknown, unknown>

writeExtant

  • writeExtant(output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    Returns Writer<unknown, unknown>

writeFilterSelector

writeFunc

  • Parameters

    Returns Writer<unknown, unknown>

writeGetAttrSelector

writeGetItemSelector

writeGetSelector

writeIdentitySelector

  • writeIdentitySelector(output: Output<unknown>): Writer<unknown, unknown>

writeInfixOperator

  • writeInfixOperator(lhs: Item, operator: string, rhs: Item, precedence: number, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • lhs: Item
    • operator: string
    • rhs: Item
    • precedence: number
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

writeInvokeOperator

writeItem

  • Parameters

    Returns Writer<unknown, unknown>

writeKeysSelector

writeLambdaFunc

writeLiteralSelector

writeMarkupText

  • writeMarkupText(item: string | Item, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    Returns Writer<unknown, unknown>

writeNum

  • writeNum(value: number, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • value: number
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

writeOperator

  • Parameters

    Returns Writer<unknown, unknown>

writePrefixOperator

  • writePrefixOperator(operator: string, rhs: Item, precedence: number, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • operator: string
    • rhs: Item
    • precedence: number
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

writePrimary

  • Parameters

    Returns Writer<unknown, unknown>

writeRecord

  • Parameters

    Returns Writer<unknown, unknown>

writeSelector

  • Parameters

    Returns Writer<unknown, unknown>

writeSlot

  • Parameters

    Returns Writer<unknown, unknown>

writeText

  • writeText(value: string, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • value: string
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

writeThen

  • Parameters

    Returns Writer<unknown, unknown>

writeThenChildrenSelector

  • writeThenChildrenSelector(then: Value, output: Output<unknown>): Writer<unknown, unknown>

writeThenDescendantsSelector

  • writeThenDescendantsSelector(then: Value, output: Output<unknown>): Writer<unknown, unknown>

writeThenFilterSelector

writeThenGetAttrSelector

writeThenGetItemSelector

writeThenGetSelector

writeThenIdentitySelector

  • writeThenIdentitySelector(output: Output<unknown>): Writer<unknown, unknown>

writeThenKeysSelector

  • writeThenKeysSelector(then: Value, output: Output<unknown>): Writer<unknown, unknown>

writeThenLiteralSelector

writeThenValuesSelector

  • writeThenValuesSelector(then: Value, output: Output<unknown>): Writer<unknown, unknown>

writeUint32

  • writeUint32(value: number, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • value: number
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

writeUint64

  • writeUint64(value: number, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • value: number
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

writeValue

  • Parameters

    Returns Writer<unknown, unknown>

writeValuesSelector

  • writeValuesSelector(then: Value, output: Output<unknown>): Writer<unknown, unknown>

Generated using TypeDoc