Methods
Abstract isAttr
-
Parameters
Returns boolean
isBlockSafe
- isBlockSafe(items: Cursor<I>): boolean
-
Parameters
Returns boolean
Abstract isBool
-
Parameters
Returns boolean
Abstract isExpression
- isExpression(item: I): boolean
-
Parameters
Returns boolean
Abstract isExtant
- isExtant(item: I): boolean
-
Parameters
Returns boolean
Abstract isField
- isField(item: I): boolean
-
Parameters
Returns boolean
isIdent
- isIdent(value: I | string): boolean
-
Parameters
Returns boolean
isMarkupSafe
- isMarkupSafe(items: Cursor<I>): boolean
-
Parameters
Returns boolean
Abstract isNum
-
Parameters
Returns boolean
Abstract isRecord
- isRecord(item: I): boolean
-
Parameters
Returns boolean
Abstract isSlot
-
Parameters
Returns boolean
Abstract isText
-
Parameters
Returns boolean
Abstract isValue
- isValue(item: I): boolean
-
Parameters
Returns boolean
Abstract precedence
- precedence(item: I): number
-
Parameters
Returns number
sizeOfAttr
- sizeOfAttr(key: V, value: V): number
-
Parameters
Returns number
sizeOfBlock
- sizeOfBlock(item: I): number
- sizeOfBlock(items: Cursor<I>, inBlock: boolean, inMarkup: boolean): number
-
Parameters
Returns number
-
Parameters
-
-
inBlock: boolean
-
inMarkup: boolean
Returns number
Abstract sizeOfBlockItem
- sizeOfBlockItem(item: I): number
-
Parameters
Returns number
Abstract sizeOfBlockValue
- sizeOfBlockValue(value: V): number
-
Parameters
Returns number
sizeOfBool
- sizeOfBool(value: boolean): number
-
Parameters
Returns number
sizeOfChildrenSelector
- sizeOfChildrenSelector(then: V): number
-
Parameters
Returns number
sizeOfConditionalOperator
- sizeOfConditionalOperator(ifTerm: I, thenTerm: I, elseTerm: I, precedence: number): number
-
Parameters
-
ifTerm: I
-
thenTerm: I
-
elseTerm: I
-
precedence: number
Returns number
sizeOfData
- sizeOfData(length: number): number
-
Parameters
Returns number
sizeOfDescendantsSelector
- sizeOfDescendantsSelector(then: V): number
-
Parameters
Returns number
sizeOfFilterSelector
- sizeOfFilterSelector(predicate: V, then: V): number
-
Parameters
Returns number
sizeOfGetAttrSelector
- sizeOfGetAttrSelector(key: V, then: V): number
-
Parameters
Returns number
sizeOfGetItemSelector
- sizeOfGetItemSelector(index: V, then: V): number
-
Parameters
Returns number
sizeOfGetSelector
- sizeOfGetSelector(key: V, then: V): number
-
Parameters
Returns number
sizeOfIdentitySelector
- sizeOfIdentitySelector(): number
sizeOfInfixOperator
- sizeOfInfixOperator(lhs: I, operator: string, rhs: I, precedence: number): number
-
Parameters
-
lhs: I
-
operator: string
-
rhs: I
-
precedence: number
Returns number
sizeOfInvokeOperator
- sizeOfInvokeOperator(func: V, args: V): number
-
Parameters
Returns number
Abstract sizeOfItem
- sizeOfItem(item: I): number
-
Parameters
Returns number
sizeOfKeysSelector
- sizeOfKeysSelector(then: V): number
-
Parameters
Returns number
sizeOfLambdaFunc
- sizeOfLambdaFunc(bindings: V, template: V): number
-
Parameters
Returns number
sizeOfLiteralSelector
- sizeOfLiteralSelector(item: I, then: V): number
-
Parameters
Returns number
sizeOfMarkupText
- sizeOfMarkupText(item: I | string): number
-
Parameters
Returns number
sizeOfNum
- sizeOfNum(value: number): number
-
Parameters
Returns number
sizeOfPrefixOperator
- sizeOfPrefixOperator(operator: string, rhs: I, precedence: number): number
-
Parameters
-
operator: string
-
rhs: I
-
precedence: number
Returns number
sizeOfPrimary
- sizeOfPrimary(value: V): number
-
Parameters
Returns number
sizeOfRecord
- sizeOfRecord(item: I): number
-
Parameters
Returns number
sizeOfSlot
- sizeOfSlot(key: V, value: V): number
-
Parameters
Returns number
sizeOfText
- sizeOfText(value: string): number
-
Parameters
Returns number
Abstract sizeOfThen
- sizeOfThen(then: V): number
-
Parameters
Returns number
sizeOfThenChildrenSelector
- sizeOfThenChildrenSelector(then: V): number
-
Parameters
Returns number
sizeOfThenDescendantsSelector
- sizeOfThenDescendantsSelector(then: V): number
-
Parameters
Returns number
sizeOfThenFilterSelector
- sizeOfThenFilterSelector(predicate: V, then: V): number
-
Parameters
Returns number
sizeOfThenGetAttrSelector
- sizeOfThenGetAttrSelector(key: V, then: V): number
-
Parameters
Returns number
sizeOfThenGetItemSelector
- sizeOfThenGetItemSelector(index: V, then: V): number
-
Parameters
Returns number
sizeOfThenGetSelector
- sizeOfThenGetSelector(key: V, then: V): number
-
Parameters
Returns number
sizeOfThenIdentitySelector
- sizeOfThenIdentitySelector(): number
sizeOfThenKeysSelector
- sizeOfThenKeysSelector(then: V): number
-
Parameters
Returns number
sizeOfThenLiteralSelector
- sizeOfThenLiteralSelector(item: I, then: V): number
-
Parameters
Returns number
sizeOfThenValuesSelector
- sizeOfThenValuesSelector(then: V): number
-
Parameters
Returns number
sizeOfUint32
- sizeOfUint32(value: number): number
-
Parameters
Returns number
sizeOfUint64
- sizeOfUint64(value: number): number
-
Parameters
Returns number
Abstract sizeOfValue
- sizeOfValue(value: V): number
-
Parameters
Returns number
sizeOfValuesSelector
- sizeOfValuesSelector(then: V): number
-
Parameters
Returns number
Abstract string
-
Parameters
Returns string
writeBlock
-
Parameters
-
Parameters
-
-
-
inBlock: boolean
-
inMarkup: boolean
writeConditionalOperator
- writeConditionalOperator(ifTerm: I, thenTerm: I, elseTerm: I, precedence: number, output: Output): Writer
-
Parameters
-
ifTerm: I
-
thenTerm: I
-
elseTerm: I
-
precedence: number
-
writeData
- writeData(value: Uint8Array | undefined, output: Output): Writer
-
Parameters
-
value: Uint8Array | undefined
-
writeFilterSelector
- writeFilterSelector(predicate: V, then: V, output: Output): Writer
writeGetAttrSelector
- writeGetAttrSelector(key: V, then: V, output: Output): Writer
writeGetItemSelector
- writeGetItemSelector(index: V, then: V, output: Output): Writer
writeInfixOperator
- writeInfixOperator(lhs: I, operator: string, rhs: I, precedence: number, output: Output): Writer
-
Parameters
-
lhs: I
-
operator: string
-
rhs: I
-
precedence: number
-
writeInvokeOperator
- writeInvokeOperator(func: V, args: V, output: Output): Writer
writeLambdaFunc
- writeLambdaFunc(bindings: V, template: V, output: Output): Writer
writeLiteralSelector
- writeLiteralSelector(item: I, then: V, output: Output): Writer
writePrefixOperator
- writePrefixOperator(operator: string, rhs: I, precedence: number, output: Output): Writer
-
Parameters
-
operator: string
-
rhs: I
-
precedence: number
-
writeThenChildrenSelector
writeThenDescendantsSelector
- writeThenDescendantsSelector(then: V, output: Output): Writer
writeThenFilterSelector
- writeThenFilterSelector(predicate: V, then: V, output: Output): Writer
writeThenGetAttrSelector
- writeThenGetAttrSelector(key: V, then: V, output: Output): Writer
writeThenGetItemSelector
- writeThenGetItemSelector(index: V, then: V, output: Output): Writer
writeThenGetSelector
- writeThenGetSelector(key: V, then: V, output: Output): Writer
writeThenIdentitySelector
writeThenLiteralSelector
- writeThenLiteralSelector(item: I, then: V, output: Output): Writer
Factory for constructing Recon writers.