public static class TsonElementDecorator.AsFunction extends TsonElementDecorator implements TsonFunction
TsonElementDecorator.Asalias, TsonElementDecorator.AsArray, TsonElementDecorator.AsBigComplex, TsonElementDecorator.AsBigDecimal, TsonElementDecorator.AsBigInt, TsonElementDecorator.AsBinaryStream, TsonElementDecorator.AsBoolean, TsonElementDecorator.AsByte, TsonElementDecorator.AsChar, TsonElementDecorator.AsCharStream, 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 |
|---|
AsFunction(TsonFunction base,
TsonComments comments,
TsonAnnotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
List<TsonElement> |
all() |
TsonElementList |
args() |
TsonElementList |
body() |
TsonFunctionBuilder |
builder() |
TsonFunction |
getBase() |
String |
name() |
int |
size() |
TsonContainer |
toContainer() |
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, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toMatrix, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toString, toString, toString, toTime, toUplet, type, visitisContainer, isNumber, isPrimitive, isTemporalclone, 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, isContainer, isNull, isNumber, isPrimitive, isTemporal, longObject, longValue, numberValue, of, regexValue, shortObject, shortValue, stringValue, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toMatrix, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toTime, toUplet, visittoString, toString, toString, typecompareTopublic AsFunction(TsonFunction base, TsonComments comments, TsonAnnotation[] annotations)
public TsonElementList body()
body in interface TsonContainerpublic TsonContainer toContainer()
toContainer in interface TsonElementtoContainer in class TsonElementDecoratorpublic TsonElementList args()
args in interface TsonContainerpublic int size()
size in interface TsonFunctionpublic TsonFunction getBase()
getBase in class TsonElementDecoratorpublic String name()
name in interface TsonContainerpublic List<TsonElement> all()
all in interface TsonFunctionpublic TsonFunctionBuilder builder()
builder in interface TsonElementbuilder in interface TsonFunctionbuilder in class TsonElementDecoratorpublic void visit(TsonParserVisitor visitor)
visit in interface TsonElementCopyright © 2024 vpc open source initiative. All rights reserved.