- java.lang.Object
-
- swim.recon.ReconWriter<Item,Value>
-
- swim.recon.ReconStructureWriter
-
public class ReconStructureWriter extends ReconWriter<Item,Value>
-
-
Constructor Summary
Constructors Constructor Description ReconStructureWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAttr(Item item)
boolean
isBool(Item item)
boolean
isExpression(Item item)
boolean
isExtant(Item item)
boolean
isField(Item item)
boolean
isNum(Item item)
boolean
isRecord(Item item)
boolean
isSlot(Item item)
boolean
isText(Item item)
boolean
isValue(Item item)
Item
item(Value value)
Iterator<Item>
items(Item item)
Value
key(Item item)
int
precedence(Item item)
int
sizeOfBlockItem(Item item)
int
sizeOfBlockValue(Value value)
int
sizeOfFunc(Func func)
int
sizeOfItem(Item item)
int
sizeOfOperator(Operator operator)
int
sizeOfSelector(Selector selector)
int
sizeOfThen(Value then)
int
sizeOfValue(Value value)
String
string(Item item)
Value
value(Item item)
Writer<?,?>
writeBlockItem(Output<?> output, Item item)
Writer<?,?>
writeBlockValue(Output<?> output, Value value)
Writer<?,?>
writeFunc(Output<?> output, Func func)
Writer<?,?>
writeItem(Output<?> output, Item item)
Writer<?,?>
writeOperator(Output<?> output, Operator operator)
Writer<?,?>
writeSelector(Output<?> output, Selector selector)
Writer<?,?>
writeThen(Output<?> output, Value then)
Writer<?,?>
writeValue(Output<?> output, Value value)
-
Methods inherited from class swim.recon.ReconWriter
isBlockSafe, isIdent, isIdent, isMarkupSafe, sizeOfAbsent, sizeOfAttr, sizeOfBlock, sizeOfBlock, sizeOfBool, sizeOfChildrenSelector, sizeOfConditionalOperator, sizeOfData, sizeOfDescendantsSelector, sizeOfExtant, sizeOfFilterSelector, sizeOfGetAttrSelector, sizeOfGetItemSelector, sizeOfGetSelector, sizeOfIdentitySelector, sizeOfInfixOperator, sizeOfInvokeOperator, sizeOfKeysSelector, sizeOfLambdaFunc, sizeOfLiteralSelector, sizeOfMarkupText, sizeOfMarkupText, sizeOfNum, sizeOfNum, sizeOfNum, sizeOfNum, sizeOfNum, sizeOfPrefixOperator, sizeOfPrimary, sizeOfRecord, sizeOfSlot, sizeOfText, sizeOfThenChildrenSelector, sizeOfThenDescendantsSelector, sizeOfThenFilterSelector, sizeOfThenGetAttrSelector, sizeOfThenGetItemSelector, sizeOfThenGetSelector, sizeOfThenIdentitySelector, sizeOfThenKeysSelector, sizeOfThenLiteralSelector, sizeOfThenValuesSelector, sizeOfUint32, sizeOfUint64, sizeOfValuesSelector, writeAbsent, writeAttr, writeBlock, writeBlock, writeBool, writeChildrenSelector, writeConditionalOperator, writeData, writeDescendantsSelector, writeExtant, writeFilterSelector, writeGetAttrSelector, writeGetItemSelector, writeGetSelector, writeIdentitySelector, writeInfixOperator, writeInvokeOperator, writeKeysSelector, writeLambdaFunc, writeLiteralSelector, writeMarkupText, writeMarkupText, writeNum, writeNum, writeNum, writeNum, writeNum, writePrefixOperator, writePrimary, writeRecord, writeSlot, writeText, writeThenChildrenSelector, writeThenDescendantsSelector, writeThenFilterSelector, writeThenGetAttrSelector, writeThenGetItemSelector, writeThenGetSelector, writeThenIdentitySelector, writeThenKeysSelector, writeThenLiteralSelector, writeThenValuesSelector, writeUint32, writeUint64, writeValuesSelector
-
-
-
-
Method Detail
-
isField
public boolean isField(Item item)
- Specified by:
isField
in classReconWriter<Item,Value>
-
isAttr
public boolean isAttr(Item item)
- Specified by:
isAttr
in classReconWriter<Item,Value>
-
isSlot
public boolean isSlot(Item item)
- Specified by:
isSlot
in classReconWriter<Item,Value>
-
isValue
public boolean isValue(Item item)
- Specified by:
isValue
in classReconWriter<Item,Value>
-
isRecord
public boolean isRecord(Item item)
- Specified by:
isRecord
in classReconWriter<Item,Value>
-
isText
public boolean isText(Item item)
- Specified by:
isText
in classReconWriter<Item,Value>
-
isNum
public boolean isNum(Item item)
- Specified by:
isNum
in classReconWriter<Item,Value>
-
isBool
public boolean isBool(Item item)
- Specified by:
isBool
in classReconWriter<Item,Value>
-
isExpression
public boolean isExpression(Item item)
- Specified by:
isExpression
in classReconWriter<Item,Value>
-
isExtant
public boolean isExtant(Item item)
- Specified by:
isExtant
in classReconWriter<Item,Value>
-
precedence
public int precedence(Item item)
- Specified by:
precedence
in classReconWriter<Item,Value>
-
sizeOfItem
public int sizeOfItem(Item item)
- Specified by:
sizeOfItem
in classReconWriter<Item,Value>
-
writeItem
public Writer<?,?> writeItem(Output<?> output, Item item)
- Specified by:
writeItem
in classReconWriter<Item,Value>
-
sizeOfValue
public int sizeOfValue(Value value)
- Specified by:
sizeOfValue
in classReconWriter<Item,Value>
-
writeValue
public Writer<?,?> writeValue(Output<?> output, Value value)
- Specified by:
writeValue
in classReconWriter<Item,Value>
-
sizeOfSelector
public int sizeOfSelector(Selector selector)
-
sizeOfOperator
public int sizeOfOperator(Operator operator)
-
sizeOfFunc
public int sizeOfFunc(Func func)
-
sizeOfBlockItem
public int sizeOfBlockItem(Item item)
- Specified by:
sizeOfBlockItem
in classReconWriter<Item,Value>
-
writeBlockItem
public Writer<?,?> writeBlockItem(Output<?> output, Item item)
- Specified by:
writeBlockItem
in classReconWriter<Item,Value>
-
sizeOfBlockValue
public int sizeOfBlockValue(Value value)
- Specified by:
sizeOfBlockValue
in classReconWriter<Item,Value>
-
writeBlockValue
public Writer<?,?> writeBlockValue(Output<?> output, Value value)
- Specified by:
writeBlockValue
in classReconWriter<Item,Value>
-
sizeOfThen
public int sizeOfThen(Value then)
- Specified by:
sizeOfThen
in classReconWriter<Item,Value>
-
-