public static class TsonElementDecorator.AsObject extends TsonElementDecorator implements TsonObject
TsonElementDecorator.AsAlias, TsonElementDecorator.AsArray, TsonElementDecorator.AsBigComplex, TsonElementDecorator.AsBigDecimal, TsonElementDecorator.AsBigInt, TsonElementDecorator.AsBinaryStream, TsonElementDecorator.AsBinOp, TsonElementDecorator.AsBoolean, TsonElementDecorator.AsByte, TsonElementDecorator.AsChar, TsonElementDecorator.AsCharStream, TsonElementDecorator.AsCustom, TsonElementDecorator.AsDate, TsonElementDecorator.AsDateTime, TsonElementDecorator.AsDouble, TsonElementDecorator.AsDoubleComplex, TsonElementDecorator.AsFloat, TsonElementDecorator.AsFloatComplex, TsonElementDecorator.AsFunction, TsonElementDecorator.AsInt, TsonElementDecorator.AsLong, TsonElementDecorator.AsMatrix, TsonElementDecorator.AsName, TsonElementDecorator.AsNull, TsonElementDecorator.AsObject, TsonElementDecorator.AsPair, TsonElementDecorator.AsPrimitive<T extends TsonElement>, TsonElementDecorator.AsRegex, TsonElementDecorator.AsShort, TsonElementDecorator.AsString, TsonElementDecorator.AsTime, TsonElementDecorator.AsUplet| Constructor and Description |
|---|
AsObject(TsonObject base,
TsonComments comments,
TsonAnnotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
TsonElementList |
args() |
TsonElementList |
body() |
TsonObjectBuilder |
builder() |
TsonElement |
get(String name) |
TsonElement |
get(TsonElement element) |
TsonObject |
getBase() |
TsonElementHeader |
header() |
Iterator<TsonElement> |
iterator() |
String |
name() |
int |
size() |
TsonContainer |
toContainer() |
TsonObject |
toObject() |
void |
visit(TsonParserVisitor visitor) |
annotations, annotationsCount, booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, comments, compareTo, dateTimeValue, dateValue, doubleObject, doubleValue, equals, floatObject, floatValue, getBigDecimal, getBigInteger, hashCode, intObject, intValue, isNull, longObject, longValue, numberValue, of, of, processCommentsAndAnnotations, regexValue, shortObject, shortValue, simplify, stringValue, temporalValue, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toCustom, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toMatrix, toName, toNumber, toPair, toRegex, toShort, toStr, toString, toString, toString, toTime, toUplet, type, visitisAnyString, isArray, isBoolean, isComplexNumber, isContainer, isFloatingNumber, isFunction, isName, isNamedArray, isNamedObject, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUpletclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotations, annotationsCount, booleanObject, booleanValue, build, byteObject, byteValue, charObject, charValue, comments, dateTimeValue, dateValue, doubleObject, doubleValue, floatObject, floatValue, getBigDecimal, getBigInteger, intObject, intValue, isAnyString, isArray, isBoolean, isComplexNumber, isContainer, isFloatingNumber, isFunction, isName, isNamedArray, isNamedObject, isNull, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, longObject, longValue, numberValue, of, regexValue, shortObject, shortValue, stringValue, temporalValue, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toCustom, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toMatrix, toName, toNumber, toPair, toRegex, toShort, toStr, toTime, toUplet, visittoString, toString, toString, typecompareToforEach, spliteratorpublic AsObject(TsonObject base, TsonComments comments, TsonAnnotation[] annotations)
public TsonObject toObject()
toObject in interface TsonElementtoObject in class TsonElementDecoratorpublic TsonElementList args()
args in interface TsonContainerpublic TsonContainer toContainer()
toContainer in interface TsonElementtoContainer in class TsonElementDecoratorpublic String name()
name in interface TsonContainerpublic TsonObject getBase()
getBase in class TsonElementDecoratorpublic TsonElement get(String name)
get in interface TsonObjectpublic TsonElementHeader header()
header in interface TsonObjectpublic TsonElementList body()
body in interface TsonContainerpublic TsonElement get(TsonElement element)
get in interface TsonObjectpublic int size()
size in interface TsonObjectpublic Iterator<TsonElement> iterator()
iterator in interface Iterable<TsonElement>public TsonObjectBuilder builder()
builder in interface TsonElementbuilder in interface TsonObjectbuilder in class TsonElementDecoratorpublic void visit(TsonParserVisitor visitor)
visit in interface TsonElementCopyright © 2025 vpc open source initiative. All rights reserved.