public static class TsonElementDecorator.AsFunction extends TsonElementDecorator implements TsonFunction
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 |
|---|
AsFunction(TsonFunction base,
TsonComments comments,
TsonAnnotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
TsonElementList |
args() |
TsonElementList |
body() |
TsonFunctionBuilder |
builder() |
TsonFunction |
getBase() |
String |
name() |
int |
size() |
TsonContainer |
toContainer() |
TsonFunction |
toFunction() |
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, toInt, toLong, toMatrix, toName, toNumber, toObject, 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, toInt, toLong, toMatrix, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toTime, toUplet, visittoString, toString, toString, typecompareTopublic AsFunction(TsonFunction base, TsonComments comments, TsonAnnotation[] annotations)
public TsonFunction toFunction()
toFunction in interface TsonElementtoFunction in class TsonElementDecoratorpublic 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 TsonFunctionBuilder builder()
builder in interface TsonElementbuilder in interface TsonFunctionbuilder in class TsonElementDecoratorpublic void visit(TsonParserVisitor visitor)
visit in interface TsonElementCopyright © 2025 vpc open source initiative. All rights reserved.