public abstract class AbstractNElement extends Object implements net.thevpc.nuts.elem.NElement
| Constructor and Description |
|---|
AbstractNElement(net.thevpc.nuts.elem.NElementType type,
List<net.thevpc.nuts.elem.NBoundAffix> affixes,
List<net.thevpc.nuts.elem.NElementDiagnostic> diagnostics,
net.thevpc.nuts.elem.NElementMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.text.NMsg |
_expected(String any) |
List<net.thevpc.nuts.elem.NBoundAffix> |
affixes() |
List<net.thevpc.nuts.elem.NElementAnnotation> |
annotations() |
boolean |
anyMatches(Predicate<net.thevpc.nuts.elem.NElement> predicate) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NArrayElement> |
asArray() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NBigComplex> |
asBigComplexValue() |
net.thevpc.nuts.util.NOptional<BigDecimal> |
asBigDecimalValue() |
net.thevpc.nuts.util.NOptional<BigInteger> |
asBigIntValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NBinaryOperatorElement> |
asBinaryInfixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NBinaryOperatorElement> |
asBinaryOperator() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NBinaryOperatorElement> |
asBinaryOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NBinaryStreamElement> |
asBinaryStream() |
net.thevpc.nuts.util.NOptional<Boolean> |
asBooleanValue() |
net.thevpc.nuts.util.NOptional<Byte> |
asByteValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NCharStreamElement> |
asCharStream() |
net.thevpc.nuts.util.NOptional<Character> |
asCharValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NCustomElement> |
asCustom() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NDoubleComplex> |
asDoubleComplexValue() |
net.thevpc.nuts.util.NOptional<Double> |
asDoubleValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
asElementAt(int index) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NFlatExprElement> |
asFlatExpression() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NFloatComplex> |
asFloatComplexValue() |
net.thevpc.nuts.util.NOptional<Float> |
asFloatValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NFragmentElement> |
asFragment() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> |
asFullArray(String name) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> |
asFullObject(String name) |
net.thevpc.nuts.util.NOptional<Instant> |
asInstantValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NNumberElement> |
asInt() |
net.thevpc.nuts.util.NOptional<Integer> |
asIntValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListElement> |
asList() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListContainerElement> |
asListContainer() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListOrParametrizedContainerElement> |
asListOrParametrizedContainer() |
net.thevpc.nuts.util.NLiteral |
asLiteral() |
net.thevpc.nuts.util.NOptional<LocalDateTime> |
asLocalDateTimeValue() |
net.thevpc.nuts.util.NOptional<LocalDate> |
asLocalDateValue() |
net.thevpc.nuts.util.NOptional<LocalTime> |
asLocalTimeValue() |
net.thevpc.nuts.util.NOptional<Long> |
asLongValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NStringElement> |
asName() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NNamedElement> |
asNamed() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> |
asNamedArray(String name) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> |
asNamedObject(String name) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> |
asNamedPair() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> |
asNamedPair(String name) |
net.thevpc.nuts.util.NOptional<String> |
asNameValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NAryOperatorElement> |
asNaryOperator() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NNumberElement> |
asNumber() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
asNumberType(net.thevpc.nuts.elem.NElementType elemType) |
net.thevpc.nuts.util.NOptional<Number> |
asNumberValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> |
asObject() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NOperatorElement> |
asOperator() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NOperatorSymbolElement> |
asOperatorSymbol() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NOperatorSymbolElement> |
asOperatorSymbol(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListElement> |
asOrderedList() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> |
asPair() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NParametrizedContainerElement> |
asParametrizedContainer() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> |
asParamObject() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPrimitiveElement> |
asPrimitive() |
net.thevpc.nuts.util.NOptional<Short> |
asShortValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> |
asSimplePair() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NStringElement> |
asString() |
net.thevpc.nuts.util.NOptional<String> |
asStringValue() |
net.thevpc.nuts.util.NOptional<Temporal> |
asTemporalValue() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NTernaryOperatorElement> |
asTernaryOperator() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUnaryOperatorElement> |
asUnaryOperator() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUnaryOperatorElement> |
asUnaryOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUnaryOperatorElement> |
asUnaryPostfixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUnaryOperatorElement> |
asUnaryPrefixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListElement> |
asUnorderedList() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUpletElement> |
asUplet() |
List<net.thevpc.nuts.elem.NElementComment> |
comments() |
net.thevpc.nuts.elem.NElement |
describe() |
List<net.thevpc.nuts.elem.NElementDiagnostic> |
diagnostics() |
boolean |
equals(Object o) |
List<net.thevpc.nuts.elem.NElement> |
filter(net.thevpc.nuts.elem.NElementSelector selector) |
List<net.thevpc.nuts.elem.NElement> |
filter(String selector) |
List<net.thevpc.nuts.elem.NElementAnnotation> |
findAnnotations(String name) |
net.thevpc.nuts.elem.NElement |
format(net.thevpc.nuts.text.NContentType contentType,
net.thevpc.nuts.elem.NElementFormatter formatter)
Semantic sugar for applying a formatter.
|
int |
hashCode() |
boolean |
isAnnotated(String name) |
boolean |
isAnyArray() |
boolean |
isAnyDate() |
boolean |
isAnyNamedArray() |
boolean |
isAnyNamedArray(String name) |
boolean |
isAnyNamedListContainer() |
boolean |
isAnyNamedListContainer(String name) |
boolean |
isAnyNamedObject() |
boolean |
isAnyNamedObject(String name) |
boolean |
isAnyObject() |
boolean |
isAnyOperator() |
boolean |
isAnyString() |
boolean |
isAnyStringOrName() |
boolean |
isAnyUplet() |
boolean |
isArray() |
boolean |
isBigDecimal() |
boolean |
isBigInt() |
boolean |
isBigNumber() |
boolean |
isBinaryInfixOperator() |
boolean |
isBinaryInfixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
boolean |
isBinaryOperator() |
boolean |
isBinaryOperator(net.thevpc.nuts.elem.NOperatorSymbol type) |
boolean |
isBinaryStream() |
boolean |
isBlank() |
boolean |
isBoolean() |
boolean |
isByte() |
boolean |
isCharStream() |
boolean |
isComplexNumber() |
boolean |
isCustom() |
boolean |
isCustomTree() |
boolean |
isDecimalNumber() |
boolean |
isDouble() |
boolean |
isEmpty() |
boolean |
isErrorTree() |
boolean |
isFlatExpression() |
boolean |
isFloat() |
boolean |
isFloatingNumber() |
boolean |
isFragment() |
boolean |
isFullArray() |
boolean |
isFullArray(String name) |
boolean |
isFullObject() |
boolean |
isFullObject(Predicate<String> nameCondition) |
boolean |
isFullObject(String name) |
boolean |
isInstant() |
boolean |
isInt() |
boolean |
isLeftNamedBinaryOperator(net.thevpc.nuts.elem.NOperatorSymbol type) |
boolean |
isLeftNamedBinaryOperator(net.thevpc.nuts.elem.NOperatorSymbol type,
String name) |
boolean |
isList() |
boolean |
isListContainer() |
boolean |
isListOrParametrizedContainer() |
boolean |
isLocalTemporal() |
boolean |
isLong() |
boolean |
isName() |
boolean |
isName(Predicate<String> nameCondition) |
boolean |
isName(String name) |
boolean |
isNamed() |
boolean |
isNamed(Predicate<String> name) |
boolean |
isNamed(String name) |
boolean |
isNamedArray() |
boolean |
isNamedArray(String name) |
boolean |
isNamedListContainer() |
boolean |
isNamedListContainer(String name) |
boolean |
isNamedObject() |
boolean |
isNamedObject(Predicate<String> nameCondition) |
boolean |
isNamedObject(String name) |
boolean |
isNamedPair() |
boolean |
isNamedPair(Predicate<String> nameCondition) |
boolean |
isNamedPair(String name) |
boolean |
isNamedUplet() |
boolean |
isNamedUplet(Predicate<String> nameCondition) |
boolean |
isNamedUplet(String name) |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isObject() |
boolean |
isOperatorSymbol() |
boolean |
isOperatorSymbol(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
boolean |
isOrderedList() |
boolean |
isOrdinalNumber() |
boolean |
isPair() |
boolean |
isParamArray() |
boolean |
isParametrized() |
boolean |
isParametrizedContainer() |
boolean |
isParamObject() |
boolean |
isPrimitive() |
boolean |
isShort() |
boolean |
isSimplePair() |
boolean |
isStream() |
boolean |
isString() |
boolean |
isTemporal() |
boolean |
isUnaryOperator() |
boolean |
isUnaryOperator(net.thevpc.nuts.elem.NOperatorSymbol type) |
boolean |
isUnaryPostfixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
boolean |
isUnaryPrefixOperator() |
boolean |
isUnaryPrefixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol) |
boolean |
isUnorderedList() |
boolean |
isUplet() |
net.thevpc.nuts.elem.NElementMetadata |
metadata() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
resolve(String pattern) |
List<net.thevpc.nuts.elem.NElement> |
resolveAll(String pattern) |
String |
snippet() |
String |
snippet(int size) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NArrayElement> |
toArray() |
String |
toCompactString() |
String |
toFormattedString(net.thevpc.nuts.text.NContentType contentType,
net.thevpc.nuts.elem.NElementFormatter formatter) |
String |
toFormattedString(net.thevpc.nuts.elem.NElementFormatter formatter) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListContainerElement> |
toListContainer() |
List<net.thevpc.nuts.elem.NElement> |
toMany() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NStringElement> |
toName() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NNamedElement> |
toNamed() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NArrayElement> |
toNamedArray() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> |
toNamedObject() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> |
toNamedPair() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUpletElement> |
toNamedUplet() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> |
toObject() |
String |
toPrettyString() |
String |
toStableString() |
String |
toString() |
String |
toVerbatimString() |
List<net.thevpc.nuts.elem.NElement> |
transform(net.thevpc.nuts.elem.NElementTransform transform) |
List<net.thevpc.nuts.elem.NElement> |
transform(net.thevpc.nuts.elem.NElementTransformContext context,
net.thevpc.nuts.elem.NElementTransform transform) |
net.thevpc.nuts.text.NTreeVisitResult |
traverse(net.thevpc.nuts.elem.NElementVisitor visitor) |
protected net.thevpc.nuts.text.NTreeVisitResult |
traverseChildren(net.thevpc.nuts.elem.NElementVisitor visitor) |
protected net.thevpc.nuts.text.NTreeVisitResult |
traverseList(net.thevpc.nuts.elem.NElementVisitor visitor,
List<? extends net.thevpc.nuts.elem.NElement> elements) |
List<net.thevpc.nuts.elem.NElementDiagnostic> |
treeDiagnostics() |
net.thevpc.nuts.elem.NElementType |
type() |
net.thevpc.nuts.elem.NArrayElement |
wrapIntoArray() |
net.thevpc.nuts.elem.NArrayElement |
wrapIntoNamedArray(String name) |
net.thevpc.nuts.elem.NObjectElement |
wrapIntoNamedObject(String name) |
net.thevpc.nuts.elem.NPairElement |
wrapIntoNamedPair(String name) |
net.thevpc.nuts.elem.NUpletElement |
wrapIntoNamedUplet(String name) |
net.thevpc.nuts.elem.NObjectElement |
wrapIntoObject() |
net.thevpc.nuts.elem.NUpletElement |
wrapIntoUplet() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbuilder, ofArray, ofArray, ofArray, ofArray, ofArrayBuilder, ofArrayBuilder, ofBigComplex, ofBigComplex, ofBigComplex, ofBigDecimal, ofBigDecimal, ofBigInt, ofBigInt, ofBigInt, ofBigInt, ofBinaryInfixOperator, ofBinaryStream, ofBinaryStream, ofBinaryStreamBuilder, ofBlocComment, ofBlocComment, ofBoolean, ofBoolean, ofBooleanArray, ofBooleanArray, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofByte, ofByteArray, ofByteArray, ofChar, ofCharArray, ofCharArray, ofCharStream, ofCharStream, ofCharStreamBuilder, ofCustom, ofDiagnosticBuilder, ofDouble, ofDouble, ofDouble, ofDouble, ofDoubleArray, ofDoubleArray, ofDoubleComplex, ofDoubleComplex, ofDoubleComplex, ofEmptyBuilder, ofEnum, ofEnumArray, ofExprBuilder, ofExprBuilder, ofExprBuilder, ofExprBuilder, ofExprBuilder, ofFalse, ofFlatExprBuilder, ofFloat, ofFloat, ofFloat, ofFloat, ofFloatArray, ofFloatArray, ofFloatComplex, ofFloatComplex, ofFloatComplex, ofFragment, ofFragment, ofFragmentBuilder, ofFullArray, ofFullObject, ofInstant, ofInstant, ofInstant, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofInt, ofIntArray, ofIntArray, ofLineComment, ofLineComment, ofLocalDate, ofLocalDateTime, ofLocalTime, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLong, ofLongArray, ofLongArray, ofName, ofNamedArray, ofNamedObject, ofNamedUplet, ofNameOrString, ofNull, ofNumber, ofNumber, ofNumber, ofNumberArray, ofObject, ofObject, ofObject, ofObject, ofObjectBuilder, ofObjectBuilder, ofOperatorSymbol, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPair, ofPairBuilder, ofPairBuilder, ofParamArray, ofParamArray, ofParamArray, ofParamArray, ofParamObject, ofParamObject, ofParamObject, ofParamObject, ofPrimitiveBuilder, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofShort, ofShortArray, ofShortArray, ofString, ofString, ofStringArray, ofTrue, ofUnaryPrefixOperator, ofUplet, ofUplet, ofUplet, ofUpletBuilder, ofUpletBuilder, transformOptionalpublic net.thevpc.nuts.elem.NElementMetadata metadata()
metadata in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElementDiagnostic> diagnostics()
diagnostics in interface net.thevpc.nuts.elem.NElementpublic boolean anyMatches(Predicate<net.thevpc.nuts.elem.NElement> predicate)
anyMatches in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NBoundAffix> affixes()
affixes in interface net.thevpc.nuts.elem.NElementpublic boolean isCustomTree()
isCustomTree in interface net.thevpc.nuts.elem.NElementpublic boolean isErrorTree()
isErrorTree in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElementComment> comments()
comments in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElementAnnotation> annotations()
annotations in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElementDiagnostic> treeDiagnostics()
treeDiagnostics in interface net.thevpc.nuts.elem.NElementprotected net.thevpc.nuts.text.NTreeVisitResult traverseList(net.thevpc.nuts.elem.NElementVisitor visitor,
List<? extends net.thevpc.nuts.elem.NElement> elements)
protected net.thevpc.nuts.text.NTreeVisitResult traverseChildren(net.thevpc.nuts.elem.NElementVisitor visitor)
public net.thevpc.nuts.text.NTreeVisitResult traverse(net.thevpc.nuts.elem.NElementVisitor visitor)
traverse in interface net.thevpc.nuts.elem.NElementpublic boolean isName()
isName in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedUplet()
isNamedUplet in interface net.thevpc.nuts.elem.NElementpublic boolean isUplet()
isUplet in interface net.thevpc.nuts.elem.NElementpublic boolean isBigDecimal()
isBigDecimal in interface net.thevpc.nuts.elem.NElementpublic boolean isBigInt()
isBigInt in interface net.thevpc.nuts.elem.NElementpublic boolean isInstant()
isInstant in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedUplet(String name)
isNamedUplet in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedObject()
isNamedObject in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyNamedObject()
isAnyNamedObject in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyNamedListContainer()
isAnyNamedListContainer in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyNamedListContainer(String name)
isAnyNamedListContainer in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyNamedObject(String name)
isAnyNamedObject in interface net.thevpc.nuts.elem.NElementpublic boolean isParamObject()
isParamObject in interface net.thevpc.nuts.elem.NElementpublic boolean isFullObject()
isFullObject in interface net.thevpc.nuts.elem.NElementpublic boolean isFullObject(String name)
isFullObject in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedObject(String name)
isNamedObject in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyArray()
isAnyArray in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyObject()
isAnyObject in interface net.thevpc.nuts.elem.NElementpublic boolean isListContainer()
isListContainer in interface net.thevpc.nuts.elem.NElementpublic boolean isListOrParametrizedContainer()
isListOrParametrizedContainer in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NNumberElement> asNumber()
asNumber in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListContainerElement> asListContainer()
asListContainer in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElement> toMany()
toMany in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NParametrizedContainerElement> asParametrizedContainer()
asParametrizedContainer in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListOrParametrizedContainerElement> asListOrParametrizedContainer()
asListOrParametrizedContainer in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> asParamObject()
asParamObject in interface net.thevpc.nuts.elem.NElementprotected net.thevpc.nuts.text.NMsg _expected(String any)
public String snippet()
snippet in interface net.thevpc.nuts.elem.NElementpublic String snippet(int size)
snippet in interface net.thevpc.nuts.elem.NElementpublic String toString()
public String toCompactString()
toCompactString in interface net.thevpc.nuts.elem.NElementpublic String toPrettyString()
toPrettyString in interface net.thevpc.nuts.elem.NElementpublic String toStableString()
toStableString in interface net.thevpc.nuts.elem.NElementpublic String toVerbatimString()
toVerbatimString in interface net.thevpc.nuts.elem.NElementpublic String toFormattedString(net.thevpc.nuts.elem.NElementFormatter formatter)
toFormattedString in interface net.thevpc.nuts.elem.NElementpublic String toFormattedString(net.thevpc.nuts.text.NContentType contentType, net.thevpc.nuts.elem.NElementFormatter formatter)
toFormattedString in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> asNamedObject(String name)
asNamedObject in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> asFullObject(String name)
asFullObject in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NNamedElement> asNamed()
asNamed in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedArray(String name)
isNamedArray in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> asNamedArray(String name)
asNamedArray in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> asFullArray(String name)
asFullArray in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyUplet()
isAnyUplet in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedArray()
isNamedArray in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyNamedArray()
isAnyNamedArray in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyNamedArray(String name)
isAnyNamedArray in interface net.thevpc.nuts.elem.NElementpublic boolean isParamArray()
isParamArray in interface net.thevpc.nuts.elem.NElementpublic boolean isFullArray()
isFullArray in interface net.thevpc.nuts.elem.NElementpublic boolean isFullArray(String name)
isFullArray in interface net.thevpc.nuts.elem.NElementpublic boolean isNamed(String name)
isNamed in interface net.thevpc.nuts.elem.NElementpublic boolean isNamed(Predicate<String> name)
isNamed in interface net.thevpc.nuts.elem.NElementpublic boolean isName(String name)
isName in interface net.thevpc.nuts.elem.NElementpublic boolean isName(Predicate<String> nameCondition)
isName in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedUplet(Predicate<String> nameCondition)
isNamedUplet in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedObject(Predicate<String> nameCondition)
isNamedObject in interface net.thevpc.nuts.elem.NElementpublic boolean isFullObject(Predicate<String> nameCondition)
isFullObject in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElement> resolveAll(String pattern)
resolveAll in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElementAnnotation> findAnnotations(String name)
findAnnotations in interface net.thevpc.nuts.elem.NElementpublic boolean isAnnotated(String name)
isAnnotated in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NElementType type()
type in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> resolve(String pattern)
resolve in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPrimitiveElement> asPrimitive()
asPrimitive in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> asObject()
asObject in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NFlatExprElement> asFlatExpression()
asFlatExpression in interface net.thevpc.nuts.elem.NElementpublic boolean isFlatExpression()
isFlatExpression in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> asElementAt(int index)
asElementAt in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUpletElement> asUplet()
asUplet in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NNumberElement> asInt()
asInt in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> asPair()
asPair in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NStringElement> asString()
asString in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NCustomElement> asCustom()
asCustom in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NArrayElement> asArray()
asArray in interface net.thevpc.nuts.elem.NElementpublic boolean isCustom()
isCustom in interface net.thevpc.nuts.elem.NElementpublic boolean isPrimitive()
isPrimitive in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyString()
isAnyString in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyStringOrName()
isAnyStringOrName in interface net.thevpc.nuts.elem.NElementpublic boolean isStream()
isStream in interface net.thevpc.nuts.elem.NElementpublic boolean isNumber()
isNumber in interface net.thevpc.nuts.elem.NElementpublic boolean isFloatingNumber()
isFloatingNumber in interface net.thevpc.nuts.elem.NElementpublic boolean isOrdinalNumber()
isOrdinalNumber in interface net.thevpc.nuts.elem.NElementpublic boolean isNull()
isNull in interface net.thevpc.nuts.elem.NElementpublic boolean isString()
isString in interface net.thevpc.nuts.elem.NElementpublic boolean isByte()
isByte in interface net.thevpc.nuts.elem.NElementpublic boolean isInt()
isInt in interface net.thevpc.nuts.elem.NElementpublic boolean isLong()
isLong in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyDate()
isAnyDate in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NOperatorElement> asOperator()
asOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NOperatorSymbolElement> asOperatorSymbol()
asOperatorSymbol in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NOperatorSymbolElement> asOperatorSymbol(net.thevpc.nuts.elem.NOperatorSymbol symbol)
asOperatorSymbol in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NBinaryOperatorElement> asBinaryOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol)
asBinaryOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NBinaryOperatorElement> asBinaryInfixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol)
asBinaryInfixOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUnaryOperatorElement> asUnaryPrefixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol)
asUnaryPrefixOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUnaryOperatorElement> asUnaryPostfixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol)
asUnaryPostfixOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUnaryOperatorElement> asUnaryOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol)
asUnaryOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NBinaryOperatorElement> asBinaryOperator()
asBinaryOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUnaryOperatorElement> asUnaryOperator()
asUnaryOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NAryOperatorElement> asNaryOperator()
asNaryOperator in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NTernaryOperatorElement> asTernaryOperator()
asTernaryOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isBinaryInfixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol)
isBinaryInfixOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isBinaryInfixOperator()
isBinaryInfixOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isUnaryPrefixOperator()
isUnaryPrefixOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isUnaryPrefixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol)
isUnaryPrefixOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isUnaryPostfixOperator(net.thevpc.nuts.elem.NOperatorSymbol symbol)
isUnaryPostfixOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isBinaryOperator()
isBinaryOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isOperatorSymbol()
isOperatorSymbol in interface net.thevpc.nuts.elem.NElementpublic boolean isOperatorSymbol(net.thevpc.nuts.elem.NOperatorSymbol symbol)
isOperatorSymbol in interface net.thevpc.nuts.elem.NElementpublic boolean isBinaryOperator(net.thevpc.nuts.elem.NOperatorSymbol type)
isBinaryOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isUnaryOperator(net.thevpc.nuts.elem.NOperatorSymbol type)
isUnaryOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isLeftNamedBinaryOperator(net.thevpc.nuts.elem.NOperatorSymbol type)
isLeftNamedBinaryOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isLeftNamedBinaryOperator(net.thevpc.nuts.elem.NOperatorSymbol type,
String name)
isLeftNamedBinaryOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isAnyOperator()
isAnyOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isUnaryOperator()
isUnaryOperator in interface net.thevpc.nuts.elem.NElementpublic boolean isShort()
isShort in interface net.thevpc.nuts.elem.NElementpublic boolean isFloat()
isFloat in interface net.thevpc.nuts.elem.NElementpublic boolean isDouble()
isDouble in interface net.thevpc.nuts.elem.NElementpublic boolean isBoolean()
isBoolean in interface net.thevpc.nuts.elem.NElementpublic boolean isDecimalNumber()
isDecimalNumber in interface net.thevpc.nuts.elem.NElementpublic boolean isBigNumber()
isBigNumber in interface net.thevpc.nuts.elem.NElementpublic boolean isComplexNumber()
isComplexNumber in interface net.thevpc.nuts.elem.NElementpublic boolean isTemporal()
isTemporal in interface net.thevpc.nuts.elem.NElementpublic boolean isLocalTemporal()
isLocalTemporal in interface net.thevpc.nuts.elem.NElementpublic boolean isNamed()
isNamed in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedListContainer()
isNamedListContainer in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedListContainer(String name)
isNamedListContainer in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NNamedElement> toNamed()
toNamed in interface net.thevpc.nuts.elem.NElementpublic boolean isParametrized()
isParametrized in interface net.thevpc.nuts.elem.NElementpublic boolean isObject()
isObject in interface net.thevpc.nuts.elem.NElementpublic boolean isArray()
isArray in interface net.thevpc.nuts.elem.NElementpublic boolean isFragment()
isFragment in interface net.thevpc.nuts.elem.NElementpublic boolean isPair()
isPair in interface net.thevpc.nuts.elem.NElementpublic boolean isSimplePair()
isSimplePair in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedPair()
isNamedPair in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> asNamedPair(String name)
asNamedPair in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> asNamedPair()
asNamedPair in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> asSimplePair()
asSimplePair in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedPair(String name)
isNamedPair in interface net.thevpc.nuts.elem.NElementpublic boolean isNamedPair(Predicate<String> nameCondition)
isNamedPair in interface net.thevpc.nuts.elem.NElementpublic boolean isParametrizedContainer()
isParametrizedContainer in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListContainerElement> toListContainer()
toListContainer in interface net.thevpc.nuts.elem.NElementpublic boolean isEmpty()
isEmpty in interface net.thevpc.nuts.elem.NElementpublic boolean isBlank()
isBlank in interface net.thevpc.nuts.elem.NElementisBlank in interface net.thevpc.nuts.util.NBlankablepublic net.thevpc.nuts.elem.NElement describe()
describe in interface net.thevpc.nuts.elem.NDescribablepublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NPairElement> toNamedPair()
toNamedPair in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NUpletElement> toNamedUplet()
toNamedUplet in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> toNamedObject()
toNamedObject in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NArrayElement> toNamedArray()
toNamedArray in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NObjectElement> toObject()
toObject in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NArrayElement> toArray()
toArray in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NArrayElement wrapIntoArray()
wrapIntoArray in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NObjectElement wrapIntoObject()
wrapIntoObject in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NUpletElement wrapIntoUplet()
wrapIntoUplet in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NArrayElement wrapIntoNamedArray(String name)
wrapIntoNamedArray in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NObjectElement wrapIntoNamedObject(String name)
wrapIntoNamedObject in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NUpletElement wrapIntoNamedUplet(String name)
wrapIntoNamedUplet in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NPairElement wrapIntoNamedPair(String name)
wrapIntoNamedPair in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NLiteral asLiteral()
asLiteral in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<String> asStringValue()
asStringValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<String> asNameValue()
asNameValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<LocalTime> asLocalTimeValue()
asLocalTimeValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<LocalDate> asLocalDateValue()
asLocalDateValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<LocalDateTime> asLocalDateTimeValue()
asLocalDateTimeValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Double> asDoubleValue()
asDoubleValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Float> asFloatValue()
asFloatValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Long> asLongValue()
asLongValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Integer> asIntValue()
asIntValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Short> asShortValue()
asShortValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Byte> asByteValue()
asByteValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NFloatComplex> asFloatComplexValue()
asFloatComplexValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NDoubleComplex> asDoubleComplexValue()
asDoubleComplexValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.math.NBigComplex> asBigComplexValue()
asBigComplexValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Instant> asInstantValue()
asInstantValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Character> asCharValue()
asCharValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Boolean> asBooleanValue()
asBooleanValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<BigDecimal> asBigDecimalValue()
asBigDecimalValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<BigInteger> asBigIntValue()
asBigIntValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Number> asNumberValue()
asNumberValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<Temporal> asTemporalValue()
asTemporalValue in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> asNumberType(net.thevpc.nuts.elem.NElementType elemType)
asNumberType in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElement> transform(net.thevpc.nuts.elem.NElementTransform transform)
transform in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElement> transform(net.thevpc.nuts.elem.NElementTransformContext context, net.thevpc.nuts.elem.NElementTransform transform)
transform in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.elem.NElement format(net.thevpc.nuts.text.NContentType contentType,
net.thevpc.nuts.elem.NElementFormatter formatter)
format in interface net.thevpc.nuts.elem.NElementpublic boolean isList()
isList in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListElement> asList()
asList in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NFragmentElement> asFragment()
asFragment in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListElement> asOrderedList()
asOrderedList in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NListElement> asUnorderedList()
asUnorderedList in interface net.thevpc.nuts.elem.NElementpublic boolean isOrderedList()
isOrderedList in interface net.thevpc.nuts.elem.NElementpublic boolean isUnorderedList()
isUnorderedList in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NStringElement> asName()
asName in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NStringElement> toName()
toName in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElement> filter(net.thevpc.nuts.elem.NElementSelector selector)
filter in interface net.thevpc.nuts.elem.NElementpublic List<net.thevpc.nuts.elem.NElement> filter(String selector)
filter in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NBinaryStreamElement> asBinaryStream()
asBinaryStream in interface net.thevpc.nuts.elem.NElementpublic boolean isBinaryStream()
isBinaryStream in interface net.thevpc.nuts.elem.NElementpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NCharStreamElement> asCharStream()
asCharStream in interface net.thevpc.nuts.elem.NElementpublic boolean isCharStream()
isCharStream in interface net.thevpc.nuts.elem.NElementCopyright © 2026 vpc open source initiative. All rights reserved.