public class DefaultNFlatExprElementBuilder extends AbstractNElementBuilder implements NFlatExprElementBuilder
| Constructor and Description |
|---|
DefaultNFlatExprElementBuilder() |
addNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, toString, trailingCommentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitofaddNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, trailingCommentspublic List<NElement> children()
children in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder clear()
clear in interface NFlatExprElementBuilderpublic NOptional<NElement> get(int index)
get in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder add(NOperatorSymbol op)
add in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder add(NElement element)
add in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder setChildren(List<NElement> elements)
setChildren in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder setAt(int index, NElement element)
setAt in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder setAt(int index, NOperatorSymbol element)
setAt in interface NFlatExprElementBuilderpublic NFlatExprElement build()
build in interface NElementBuilderbuild in interface NFlatExprElementBuilderpublic NElementType type()
type in interface NElementBuilderpublic int size()
size in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder clearChildren()
clearChildren in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder doWith(Consumer<NFlatExprElementBuilder> con)
doWith in interface NFlatExprElementBuilderpublic NFlatExprElementBuilder copyFrom(NElementBuilder other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NElementBuildercopyFrom in interface NFlatExprElementBuildercopyFrom in class AbstractNElementBuilderpublic NFlatExprElementBuilder copyFrom(NElement other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NElementBuildercopyFrom in interface NFlatExprElementBuildercopyFrom in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAnnotations(List<NElementAnnotation> annotations)
addAnnotations in interface NElementBuilderaddAnnotations in interface NFlatExprElementBuilderaddAnnotations in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAnnotation(String name, NElement... args)
addAnnotation in interface NElementBuilderaddAnnotation in interface NFlatExprElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAnnotation(NElementAnnotation annotation)
addAnnotation in interface NElementBuilderaddAnnotation in interface NFlatExprElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAffixAt(int index, NBoundAffix affix)
addAffixAt in interface NElementBuilderaddAffixAt in interface NFlatExprElementBuilderaddAffixAt in class AbstractNElementBuilderpublic NFlatExprElementBuilder removeAffix(int affix)
removeAffix in interface NElementBuilderremoveAffix in interface NFlatExprElementBuilderremoveAffix in class AbstractNElementBuilderpublic NFlatExprElementBuilder clearAnnotations()
clearAnnotations in interface NElementBuilderclearAnnotations in interface NFlatExprElementBuilderclearAnnotations in class AbstractNElementBuilderpublic NFlatExprElementBuilder clearAffixes()
clearAffixes in interface NElementBuilderclearAffixes in interface NFlatExprElementBuilderclearAffixes in class AbstractNElementBuilderpublic NFlatExprElementBuilder clearComments()
clearComments in interface NElementBuilderclearComments in interface NFlatExprElementBuilderclearComments in class AbstractNElementBuilderpublic NFlatExprElementBuilder setAffixAt(int index, NBoundAffix affix)
setAffixAt in interface NElementBuildersetAffixAt in interface NFlatExprElementBuildersetAffixAt in class AbstractNElementBuilderpublic NFlatExprElementBuilder setAffixes(List<NBoundAffix> affixes)
setAffixes in interface NElementBuildersetAffixes in interface NFlatExprElementBuildersetAffixes in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAffix(NBoundAffix affix)
addAffix in interface NElementBuilderaddAffix in interface NFlatExprElementBuilderaddAffix in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAffixAt(int index, NAffix affix, NAffixAnchor anchor)
addAffixAt in interface NElementBuilderaddAffixAt in interface NFlatExprElementBuilderaddAffixAt in class AbstractNElementBuilderpublic NFlatExprElementBuilder setAffixAt(int index, NAffix affix, NAffixAnchor anchor)
setAffixAt in interface NElementBuildersetAffixAt in interface NFlatExprElementBuildersetAffixAt in class AbstractNElementBuilderpublic NFlatExprElementBuilder removeDiagnostic(NElementDiagnostic error)
removeDiagnostic in interface NElementBuilderremoveDiagnostic in interface NFlatExprElementBuilderremoveDiagnostic in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAffixes(List<NBoundAffix> affixes)
addAffixes in interface NElementBuilderaddAffixes in interface NFlatExprElementBuilderaddAffixes in class AbstractNElementBuilderpublic NFlatExprElementBuilder addDiagnostic(NElementDiagnostic error)
addDiagnostic in interface NElementBuilderaddDiagnostic in interface NFlatExprElementBuilderaddDiagnostic in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAffixes(List<? extends NAffix> affixes, NAffixAnchor anchor)
addAffixes in class AbstractNElementBuilderpublic NFlatExprElementBuilder addAffix(NAffix affix, NAffixAnchor anchor)
addAffix in interface NElementBuilderaddAffix in class AbstractNElementBuilderpublic NFlatExprElementBuilder removeAffixes(NAffixType type, NAffixAnchor anchor)
removeAffixes in interface NElementBuilderremoveAffixes in interface NFlatExprElementBuilderremoveAffixes in class AbstractNElementBuilderpublic NFlatExprElementBuilder addLeadingComment(NElementComment comment)
addLeadingComment in interface NElementBuilderaddLeadingComment in interface NFlatExprElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic NFlatExprElementBuilder addLeadingComments(NElementComment... comments)
addLeadingComments in interface NElementBuilderaddLeadingComments in interface NFlatExprElementBuilderaddLeadingComments in class AbstractNElementBuilderpublic NFlatExprElementBuilder addTrailingComment(NElementComment comment)
addTrailingComment in interface NElementBuilderaddTrailingComment in interface NFlatExprElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic NFlatExprElementBuilder addTrailingComments(NElementComment... comments)
addTrailingComments in interface NElementBuilderaddTrailingComments in interface NFlatExprElementBuilderaddTrailingComments in class AbstractNElementBuilderpublic NFlatExprElementBuilder removeAnnotation(NElementAnnotation annotation)
removeAnnotation in interface NElementBuilderremoveAnnotation in interface NFlatExprElementBuilderremoveAnnotation in class AbstractNElementBuilderpublic NFlatExprElementBuilder copyFrom(NElementBuilder other)
copyFrom in interface NElementBuildercopyFrom in interface NFlatExprElementBuildercopyFrom in class AbstractNElementBuilderpublic NFlatExprElementBuilder copyFrom(NElement other)
copyFrom in interface NElementBuildercopyFrom in interface NFlatExprElementBuildercopyFrom in class AbstractNElementBuilderpublic NFlatExprElementBuilder metadata(NElementMetadata metadata)
metadata in interface NElementBuildermetadata in interface NFlatExprElementBuildermetadata in class AbstractNElementBuilderCopyright © 2026 vpc open source initiative. All rights reserved.