Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/recon
ReconStructureWriter
Class ReconStructureWriter
Hierarchy
ReconWriter
<
Item
,
Value
>
ReconStructureWriter
Index
Methods
is
Attr
is
Block
Safe
is
Bool
is
Expression
is
Extant
is
Field
is
Ident
is
Markup
Safe
is
Num
is
Record
is
Slot
is
Text
is
Value
item
items
key
precedence
size
OfAbsent
size
OfAttr
size
OfBlock
size
OfBlock
Item
size
OfBlock
Value
size
OfBool
size
OfChildren
Selector
size
OfConditional
Operator
size
OfData
size
OfDescendants
Selector
size
OfExtant
size
OfFilter
Selector
size
OfFunc
size
OfGet
Attr
Selector
size
OfGet
Item
Selector
size
OfGet
Selector
size
OfIdentity
Selector
size
OfInfix
Operator
size
OfInvoke
Operator
size
OfItem
size
OfKeys
Selector
size
OfLambda
Func
size
OfLiteral
Selector
size
OfMarkup
Text
size
OfNum
size
OfOperator
size
OfPrefix
Operator
size
OfPrimary
size
OfRecord
size
OfSelector
size
OfSlot
size
OfText
size
OfThen
size
OfThen
Children
Selector
size
OfThen
Descendants
Selector
size
OfThen
Filter
Selector
size
OfThen
Get
Attr
Selector
size
OfThen
Get
Item
Selector
size
OfThen
Get
Selector
size
OfThen
Identity
Selector
size
OfThen
Keys
Selector
size
OfThen
Literal
Selector
size
OfThen
Values
Selector
size
OfUint32
size
OfUint64
size
OfValue
size
OfValues
Selector
string
value
write
Absent
write
Attr
write
Block
write
Block
Item
write
Block
Value
write
Bool
write
Children
Selector
write
Conditional
Operator
write
Data
write
Descendants
Selector
write
Extant
write
Filter
Selector
write
Func
write
Get
Attr
Selector
write
Get
Item
Selector
write
Get
Selector
write
Identity
Selector
write
Infix
Operator
write
Invoke
Operator
write
Item
write
Keys
Selector
write
Lambda
Func
write
Literal
Selector
write
Markup
Text
write
Num
write
Operator
write
Prefix
Operator
write
Primary
write
Record
write
Selector
write
Slot
write
Text
write
Then
write
Then
Children
Selector
write
Then
Descendants
Selector
write
Then
Filter
Selector
write
Then
Get
Attr
Selector
write
Then
Get
Item
Selector
write
Then
Get
Selector
write
Then
Identity
Selector
write
Then
Keys
Selector
write
Then
Literal
Selector
write
Then
Values
Selector
write
Uint32
write
Uint64
write
Value
write
Values
Selector
Methods
is
Attr
is
Attr
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Block
Safe
is
Block
Safe
(
items
:
Cursor
<
Item
>
)
:
boolean
Parameters
items:
Cursor
<
Item
>
Returns
boolean
is
Bool
is
Bool
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Expression
is
Expression
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Extant
is
Extant
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Field
is
Field
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Ident
is
Ident
(
value
:
Item
|
string
)
:
boolean
Parameters
value:
Item
|
string
Returns
boolean
is
Markup
Safe
is
Markup
Safe
(
items
:
Cursor
<
Item
>
)
:
boolean
Parameters
items:
Cursor
<
Item
>
Returns
boolean
is
Num
is
Num
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Record
is
Record
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Slot
is
Slot
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Text
is
Text
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
is
Value
is
Value
(
item
:
Item
)
:
boolean
Parameters
item:
Item
Returns
boolean
item
item
(
value
:
Value
)
:
Item
Parameters
value:
Value
Returns
Item
items
items
(
item
:
Item
)
:
Cursor
<
Item
>
Parameters
item:
Item
Returns
Cursor
<
Item
>
key
key
(
item
:
Item
)
:
Value
Parameters
item:
Item
Returns
Value
precedence
precedence
(
item
:
Item
)
:
number
Parameters
item:
Item
Returns
number
size
OfAbsent
size
OfAbsent
(
)
:
number
Returns
number
size
OfAttr
size
OfAttr
(
key
:
Value
, value
:
Value
)
:
number
Parameters
key:
Value
value:
Value
Returns
number
size
OfBlock
size
OfBlock
(
item
:
Item
)
:
number
size
OfBlock
(
items
:
Cursor
<
Item
>
, inBlock
:
boolean
, inMarkup
:
boolean
)
:
number
Parameters
item:
Item
Returns
number
Parameters
items:
Cursor
<
Item
>
inBlock:
boolean
inMarkup:
boolean
Returns
number
size
OfBlock
Item
size
OfBlock
Item
(
item
:
Item
)
:
number
Parameters
item:
Item
Returns
number
size
OfBlock
Value
size
OfBlock
Value
(
value
:
Value
)
:
number
Parameters
value:
Value
Returns
number
size
OfBool
size
OfBool
(
value
:
boolean
)
:
number
Parameters
value:
boolean
Returns
number
size
OfChildren
Selector
size
OfChildren
Selector
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
size
OfConditional
Operator
size
OfConditional
Operator
(
ifTerm
:
Item
, thenTerm
:
Item
, elseTerm
:
Item
, precedence
:
number
)
:
number
Parameters
ifTerm:
Item
thenTerm:
Item
elseTerm:
Item
precedence:
number
Returns
number
size
OfData
size
OfData
(
length
:
number
)
:
number
Parameters
length:
number
Returns
number
size
OfDescendants
Selector
size
OfDescendants
Selector
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
size
OfExtant
size
OfExtant
(
)
:
number
Returns
number
size
OfFilter
Selector
size
OfFilter
Selector
(
predicate
:
Value
, then
:
Value
)
:
number
Parameters
predicate:
Value
then:
Value
Returns
number
size
OfFunc
size
OfFunc
(
func
:
Func
)
:
number
Parameters
func:
Func
Returns
number
size
OfGet
Attr
Selector
size
OfGet
Attr
Selector
(
key
:
Value
, then
:
Value
)
:
number
Parameters
key:
Value
then:
Value
Returns
number
size
OfGet
Item
Selector
size
OfGet
Item
Selector
(
index
:
Value
, then
:
Value
)
:
number
Parameters
index:
Value
then:
Value
Returns
number
size
OfGet
Selector
size
OfGet
Selector
(
key
:
Value
, then
:
Value
)
:
number
Parameters
key:
Value
then:
Value
Returns
number
size
OfIdentity
Selector
size
OfIdentity
Selector
(
)
:
number
Returns
number
size
OfInfix
Operator
size
OfInfix
Operator
(
lhs
:
Item
, operator
:
string
, rhs
:
Item
, precedence
:
number
)
:
number
Parameters
lhs:
Item
operator:
string
rhs:
Item
precedence:
number
Returns
number
size
OfInvoke
Operator
size
OfInvoke
Operator
(
func
:
Value
, args
:
Value
)
:
number
Parameters
func:
Value
args:
Value
Returns
number
size
OfItem
size
OfItem
(
item
:
Item
)
:
number
Parameters
item:
Item
Returns
number
size
OfKeys
Selector
size
OfKeys
Selector
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
size
OfLambda
Func
size
OfLambda
Func
(
bindings
:
Value
, template
:
Value
)
:
number
Parameters
bindings:
Value
template:
Value
Returns
number
size
OfLiteral
Selector
size
OfLiteral
Selector
(
item
:
Item
, then
:
Value
)
:
number
Parameters
item:
Item
then:
Value
Returns
number
size
OfMarkup
Text
size
OfMarkup
Text
(
item
:
Item
|
string
)
:
number
Parameters
item:
Item
|
string
Returns
number
size
OfNum
size
OfNum
(
value
:
number
)
:
number
Parameters
value:
number
Returns
number
size
OfOperator
size
OfOperator
(
operator
:
Operator
)
:
number
Parameters
operator:
Operator
Returns
number
size
OfPrefix
Operator
size
OfPrefix
Operator
(
operator
:
string
, rhs
:
Item
, precedence
:
number
)
:
number
Parameters
operator:
string
rhs:
Item
precedence:
number
Returns
number
size
OfPrimary
size
OfPrimary
(
value
:
Value
)
:
number
Parameters
value:
Value
Returns
number
size
OfRecord
size
OfRecord
(
item
:
Item
)
:
number
Parameters
item:
Item
Returns
number
size
OfSelector
size
OfSelector
(
selector
:
Selector
)
:
number
Parameters
selector:
Selector
Returns
number
size
OfSlot
size
OfSlot
(
key
:
Value
, value
:
Value
)
:
number
Parameters
key:
Value
value:
Value
Returns
number
size
OfText
size
OfText
(
value
:
string
)
:
number
Parameters
value:
string
Returns
number
size
OfThen
size
OfThen
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
size
OfThen
Children
Selector
size
OfThen
Children
Selector
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
size
OfThen
Descendants
Selector
size
OfThen
Descendants
Selector
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
size
OfThen
Filter
Selector
size
OfThen
Filter
Selector
(
predicate
:
Value
, then
:
Value
)
:
number
Parameters
predicate:
Value
then:
Value
Returns
number
size
OfThen
Get
Attr
Selector
size
OfThen
Get
Attr
Selector
(
key
:
Value
, then
:
Value
)
:
number
Parameters
key:
Value
then:
Value
Returns
number
size
OfThen
Get
Item
Selector
size
OfThen
Get
Item
Selector
(
index
:
Value
, then
:
Value
)
:
number
Parameters
index:
Value
then:
Value
Returns
number
size
OfThen
Get
Selector
size
OfThen
Get
Selector
(
key
:
Value
, then
:
Value
)
:
number
Parameters
key:
Value
then:
Value
Returns
number
size
OfThen
Identity
Selector
size
OfThen
Identity
Selector
(
)
:
number
Returns
number
size
OfThen
Keys
Selector
size
OfThen
Keys
Selector
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
size
OfThen
Literal
Selector
size
OfThen
Literal
Selector
(
item
:
Item
, then
:
Value
)
:
number
Parameters
item:
Item
then:
Value
Returns
number
size
OfThen
Values
Selector
size
OfThen
Values
Selector
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
size
OfUint32
size
OfUint32
(
value
:
number
)
:
number
Parameters
value:
number
Returns
number
size
OfUint64
size
OfUint64
(
value
:
number
)
:
number
Parameters
value:
number
Returns
number
size
OfValue
size
OfValue
(
value
:
Value
)
:
number
Parameters
value:
Value
Returns
number
size
OfValues
Selector
size
OfValues
Selector
(
then
:
Value
)
:
number
Parameters
then:
Value
Returns
number
string
string
(
item
:
Item
)
:
string
Parameters
item:
Item
Returns
string
value
value
(
item
:
Item
)
:
Value
Parameters
item:
Item
Returns
Value
write
Absent
write
Absent
(
output
:
Output
)
:
Writer
Parameters
output:
Output
Returns
Writer
write
Attr
write
Attr
(
key
:
Value
, value
:
Value
, output
:
Output
)
:
Writer
Parameters
key:
Value
value:
Value
output:
Output
Returns
Writer
write
Block
write
Block
(
item
:
Item
, output
:
Output
)
:
Writer
write
Block
(
items
:
Cursor
<
Item
>
, output
:
Output
, inBlock
:
boolean
, inMarkup
:
boolean
)
:
Writer
Parameters
item:
Item
output:
Output
Returns
Writer
Parameters
items:
Cursor
<
Item
>
output:
Output
inBlock:
boolean
inMarkup:
boolean
Returns
Writer
write
Block
Item
write
Block
Item
(
item
:
Item
, output
:
Output
)
:
Writer
Parameters
item:
Item
output:
Output
Returns
Writer
write
Block
Value
write
Block
Value
(
value
:
Value
, output
:
Output
)
:
Writer
Parameters
value:
Value
output:
Output
Returns
Writer
write
Bool
write
Bool
(
value
:
boolean
, output
:
Output
)
:
Writer
Parameters
value:
boolean
output:
Output
Returns
Writer
write
Children
Selector
write
Children
Selector
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
write
Conditional
Operator
write
Conditional
Operator
(
ifTerm
:
Item
, thenTerm
:
Item
, elseTerm
:
Item
, precedence
:
number
, output
:
Output
)
:
Writer
Parameters
ifTerm:
Item
thenTerm:
Item
elseTerm:
Item
precedence:
number
output:
Output
Returns
Writer
write
Data
write
Data
(
value
:
Uint8Array
|
undefined
, output
:
Output
)
:
Writer
Parameters
value:
Uint8Array
|
undefined
output:
Output
Returns
Writer
write
Descendants
Selector
write
Descendants
Selector
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
write
Extant
write
Extant
(
output
:
Output
)
:
Writer
Parameters
output:
Output
Returns
Writer
write
Filter
Selector
write
Filter
Selector
(
predicate
:
Value
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
predicate:
Value
then:
Value
output:
Output
Returns
Writer
write
Func
write
Func
(
func
:
Func
, output
:
Output
)
:
Writer
Parameters
func:
Func
output:
Output
Returns
Writer
write
Get
Attr
Selector
write
Get
Attr
Selector
(
key
:
Value
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
key:
Value
then:
Value
output:
Output
Returns
Writer
write
Get
Item
Selector
write
Get
Item
Selector
(
index
:
Value
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
index:
Value
then:
Value
output:
Output
Returns
Writer
write
Get
Selector
write
Get
Selector
(
key
:
Value
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
key:
Value
then:
Value
output:
Output
Returns
Writer
write
Identity
Selector
write
Identity
Selector
(
output
:
Output
)
:
Writer
Parameters
output:
Output
Returns
Writer
write
Infix
Operator
write
Infix
Operator
(
lhs
:
Item
, operator
:
string
, rhs
:
Item
, precedence
:
number
, output
:
Output
)
:
Writer
Parameters
lhs:
Item
operator:
string
rhs:
Item
precedence:
number
output:
Output
Returns
Writer
write
Invoke
Operator
write
Invoke
Operator
(
func
:
Value
, args
:
Value
, output
:
Output
)
:
Writer
Parameters
func:
Value
args:
Value
output:
Output
Returns
Writer
write
Item
write
Item
(
item
:
Item
, output
:
Output
)
:
Writer
Parameters
item:
Item
output:
Output
Returns
Writer
write
Keys
Selector
write
Keys
Selector
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
write
Lambda
Func
write
Lambda
Func
(
bindings
:
Value
, template
:
Value
, output
:
Output
)
:
Writer
Parameters
bindings:
Value
template:
Value
output:
Output
Returns
Writer
write
Literal
Selector
write
Literal
Selector
(
item
:
Item
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
item:
Item
then:
Value
output:
Output
Returns
Writer
write
Markup
Text
write
Markup
Text
(
item
:
Item
|
string
, output
:
Output
)
:
Writer
Parameters
item:
Item
|
string
output:
Output
Returns
Writer
write
Num
write
Num
(
value
:
number
, output
:
Output
)
:
Writer
Parameters
value:
number
output:
Output
Returns
Writer
write
Operator
write
Operator
(
operator
:
Operator
, output
:
Output
)
:
Writer
Parameters
operator:
Operator
output:
Output
Returns
Writer
write
Prefix
Operator
write
Prefix
Operator
(
operator
:
string
, rhs
:
Item
, precedence
:
number
, output
:
Output
)
:
Writer
Parameters
operator:
string
rhs:
Item
precedence:
number
output:
Output
Returns
Writer
write
Primary
write
Primary
(
value
:
Value
, output
:
Output
)
:
Writer
Parameters
value:
Value
output:
Output
Returns
Writer
write
Record
write
Record
(
item
:
Item
, output
:
Output
)
:
Writer
Parameters
item:
Item
output:
Output
Returns
Writer
write
Selector
write
Selector
(
selector
:
Selector
, output
:
Output
)
:
Writer
Parameters
selector:
Selector
output:
Output
Returns
Writer
write
Slot
write
Slot
(
key
:
Value
, value
:
Value
, output
:
Output
)
:
Writer
Parameters
key:
Value
value:
Value
output:
Output
Returns
Writer
write
Text
write
Text
(
value
:
string
, output
:
Output
)
:
Writer
Parameters
value:
string
output:
Output
Returns
Writer
write
Then
write
Then
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
write
Then
Children
Selector
write
Then
Children
Selector
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
write
Then
Descendants
Selector
write
Then
Descendants
Selector
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
write
Then
Filter
Selector
write
Then
Filter
Selector
(
predicate
:
Value
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
predicate:
Value
then:
Value
output:
Output
Returns
Writer
write
Then
Get
Attr
Selector
write
Then
Get
Attr
Selector
(
key
:
Value
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
key:
Value
then:
Value
output:
Output
Returns
Writer
write
Then
Get
Item
Selector
write
Then
Get
Item
Selector
(
index
:
Value
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
index:
Value
then:
Value
output:
Output
Returns
Writer
write
Then
Get
Selector
write
Then
Get
Selector
(
key
:
Value
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
key:
Value
then:
Value
output:
Output
Returns
Writer
write
Then
Identity
Selector
write
Then
Identity
Selector
(
output
:
Output
)
:
Writer
Parameters
output:
Output
Returns
Writer
write
Then
Keys
Selector
write
Then
Keys
Selector
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
write
Then
Literal
Selector
write
Then
Literal
Selector
(
item
:
Item
, then
:
Value
, output
:
Output
)
:
Writer
Parameters
item:
Item
then:
Value
output:
Output
Returns
Writer
write
Then
Values
Selector
write
Then
Values
Selector
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
write
Uint32
write
Uint32
(
value
:
number
, output
:
Output
)
:
Writer
Parameters
value:
number
output:
Output
Returns
Writer
write
Uint64
write
Uint64
(
value
:
number
, output
:
Output
)
:
Writer
Parameters
value:
number
output:
Output
Returns
Writer
write
Value
write
Value
(
value
:
Value
, output
:
Output
)
:
Writer
Parameters
value:
Value
output:
Output
Returns
Writer
write
Values
Selector
write
Values
Selector
(
then
:
Value
, output
:
Output
)
:
Writer
Parameters
then:
Value
output:
Output
Returns
Writer
Globals
@swim/core
@swim/codec
@swim/collections
@swim/dataflow
@swim/math
@swim/recon
@swim/streamlet
@swim/structure
@swim/time
@swim/uri
@swim/util
@swim/mesh
@swim/ui
@swim/ux
@swim/web
Recon
Recon
Parser
Recon
Structure
Parser
Recon
Structure
Writer
is
Attr
is
Block
Safe
is
Bool
is
Expression
is
Extant
is
Field
is
Ident
is
Markup
Safe
is
Num
is
Record
is
Slot
is
Text
is
Value
item
items
key
precedence
size
OfAbsent
size
OfAttr
size
OfBlock
size
OfBlock
Item
size
OfBlock
Value
size
OfBool
size
OfChildren
Selector
size
OfConditional
Operator
size
OfData
size
OfDescendants
Selector
size
OfExtant
size
OfFilter
Selector
size
OfFunc
size
OfGet
Attr
Selector
size
OfGet
Item
Selector
size
OfGet
Selector
size
OfIdentity
Selector
size
OfInfix
Operator
size
OfInvoke
Operator
size
OfItem
size
OfKeys
Selector
size
OfLambda
Func
size
OfLiteral
Selector
size
OfMarkup
Text
size
OfNum
size
OfOperator
size
OfPrefix
Operator
size
OfPrimary
size
OfRecord
size
OfSelector
size
OfSlot
size
OfText
size
OfThen
size
OfThen
Children
Selector
size
OfThen
Descendants
Selector
size
OfThen
Filter
Selector
size
OfThen
Get
Attr
Selector
size
OfThen
Get
Item
Selector
size
OfThen
Get
Selector
size
OfThen
Identity
Selector
size
OfThen
Keys
Selector
size
OfThen
Literal
Selector
size
OfThen
Values
Selector
size
OfUint32
size
OfUint64
size
OfValue
size
OfValues
Selector
string
value
write
Absent
write
Attr
write
Block
write
Block
Item
write
Block
Value
write
Bool
write
Children
Selector
write
Conditional
Operator
write
Data
write
Descendants
Selector
write
Extant
write
Filter
Selector
write
Func
write
Get
Attr
Selector
write
Get
Item
Selector
write
Get
Selector
write
Identity
Selector
write
Infix
Operator
write
Invoke
Operator
write
Item
write
Keys
Selector
write
Lambda
Func
write
Literal
Selector
write
Markup
Text
write
Num
write
Operator
write
Prefix
Operator
write
Primary
write
Record
write
Selector
write
Slot
write
Text
write
Then
write
Then
Children
Selector
write
Then
Descendants
Selector
write
Then
Filter
Selector
write
Then
Get
Attr
Selector
write
Then
Get
Item
Selector
write
Then
Get
Selector
write
Then
Identity
Selector
write
Then
Keys
Selector
write
Then
Literal
Selector
write
Then
Values
Selector
write
Uint32
write
Uint64
write
Value
write
Values
Selector
Recon
Writer