public class DefaultNOperatorElementBuilder extends AbstractNElementBuilder implements net.thevpc.nuts.elem.NOperatorElementBuilder
| Constructor and Description |
|---|
DefaultNOperatorElementBuilder() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.elem.NOperatorElementBuilder |
add(net.thevpc.nuts.elem.NElement operandOrOperator) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
add(net.thevpc.nuts.elem.NElement operandOrOperator,
Boolean expectedSymbol) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAffix(net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAffix(net.thevpc.nuts.elem.NBoundAffix affix) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAffixAt(int index,
net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAffixAt(int index,
net.thevpc.nuts.elem.NBoundAffix affix) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAffixes(List<? extends net.thevpc.nuts.elem.NAffix> affixes,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAll(net.thevpc.nuts.elem.NElement... operandOrOperators) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAll(net.thevpc.nuts.elem.NElement[] operands,
Boolean expectedSymbol) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAnnotation(net.thevpc.nuts.elem.NElementAnnotation annotation) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAnnotation(String name,
net.thevpc.nuts.elem.NElement... args) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addAnnotations(List<net.thevpc.nuts.elem.NElementAnnotation> annotations) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addDiagnostic(net.thevpc.nuts.elem.NElementDiagnostic error) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addLeadingComment(net.thevpc.nuts.elem.NElementComment comment) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addLeadingComments(net.thevpc.nuts.elem.NElementComment... comments) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addOperand(net.thevpc.nuts.elem.NElement operand) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addOperands(net.thevpc.nuts.elem.NElement... operands) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addOperator(net.thevpc.nuts.elem.NOperatorSymbol operator) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addTrailingComment(net.thevpc.nuts.elem.NElementComment comment) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
addTrailingComments(net.thevpc.nuts.elem.NElementComment... comments) |
net.thevpc.nuts.elem.NOperatorElement |
build() |
List<net.thevpc.nuts.elem.NElement> |
children() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
clearAffixes() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
clearAnnotations() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
clearComments() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
clearOperands() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
clearOperators() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
copyFrom(net.thevpc.nuts.elem.NElement other) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
copyFrom(net.thevpc.nuts.elem.NElementBuilder other) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
copyFrom(net.thevpc.nuts.elem.NElementBuilder other,
net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
copyFrom(net.thevpc.nuts.elem.NElement other,
net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
doWith(Consumer<net.thevpc.nuts.elem.NOperatorElementBuilder> con) |
boolean |
equals(Object o) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
first() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
first(net.thevpc.nuts.elem.NElement first) |
int |
hashCode() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
metadata(net.thevpc.nuts.elem.NElementMetadata metadata) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
operand(int index) |
List<net.thevpc.nuts.elem.NElement> |
operands() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
operands(net.thevpc.nuts.elem.NElement... operands) |
net.thevpc.nuts.elem.NOperatorSymbol |
operator() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
operator(net.thevpc.nuts.elem.NOperatorSymbol operator) |
List<net.thevpc.nuts.elem.NOperatorSymbol> |
operators() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
operators(net.thevpc.nuts.elem.NOperatorSymbol... operators) |
net.thevpc.nuts.elem.NOperatorPosition |
position() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
position(net.thevpc.nuts.elem.NOperatorPosition operatorType) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
removeAffix(int affix) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
removeAffixes(net.thevpc.nuts.elem.NAffixType type,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
removeAnnotation(net.thevpc.nuts.elem.NElementAnnotation annotation) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
removeDiagnostic(net.thevpc.nuts.elem.NElementDiagnostic error) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
second() |
net.thevpc.nuts.elem.NOperatorElementBuilder |
second(net.thevpc.nuts.elem.NElement second) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
setAffixAt(int index,
net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
setAffixAt(int index,
net.thevpc.nuts.elem.NBoundAffix affix) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
setAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
setChildren(List<net.thevpc.nuts.elem.NElement> operandOrOperators) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
setChildren(net.thevpc.nuts.elem.NElement... operandOrOperators) |
net.thevpc.nuts.elem.NOperatorElementBuilder |
setOperand(int index,
net.thevpc.nuts.elem.NElement operand) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
third() |
net.thevpc.nuts.elem.NElementType |
type() |
addNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, toString, trailingCommentsclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, trailingCommentspublic net.thevpc.nuts.elem.NOperatorElementBuilder operators(net.thevpc.nuts.elem.NOperatorSymbol... operators)
operators in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder operands(net.thevpc.nuts.elem.NElement... operands)
operands in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addOperands(net.thevpc.nuts.elem.NElement... operands)
addOperands in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder setChildren(net.thevpc.nuts.elem.NElement... operandOrOperators)
setChildren in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder setChildren(List<net.thevpc.nuts.elem.NElement> operandOrOperators)
setChildren in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAll(net.thevpc.nuts.elem.NElement... operandOrOperators)
addAll in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder add(net.thevpc.nuts.elem.NElement operandOrOperator)
add in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addOperand(net.thevpc.nuts.elem.NElement operand)
addOperand in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder clearOperands()
clearOperands in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder clearOperators()
clearOperators in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAll(net.thevpc.nuts.elem.NElement[] operands,
Boolean expectedSymbol)
public net.thevpc.nuts.elem.NOperatorElementBuilder add(net.thevpc.nuts.elem.NElement operandOrOperator,
Boolean expectedSymbol)
public net.thevpc.nuts.elem.NOperatorElementBuilder addOperator(net.thevpc.nuts.elem.NOperatorSymbol operator)
addOperator in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder operator(net.thevpc.nuts.elem.NOperatorSymbol operator)
operator in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorPosition position()
position in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder position(net.thevpc.nuts.elem.NOperatorPosition operatorType)
position in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder setOperand(int index,
net.thevpc.nuts.elem.NElement operand)
setOperand in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder first(net.thevpc.nuts.elem.NElement first)
first in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder second(net.thevpc.nuts.elem.NElement second)
second in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NElementType type()
type in interface net.thevpc.nuts.elem.NElementBuilderpublic net.thevpc.nuts.elem.NOperatorSymbol operator()
operator in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic List<net.thevpc.nuts.elem.NElement> operands()
operands in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic List<net.thevpc.nuts.elem.NElement> children()
children in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic List<net.thevpc.nuts.elem.NOperatorSymbol> operators()
operators in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> operand(int index)
operand in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> first()
first in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> second()
second in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> third()
third in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElement build()
build in interface net.thevpc.nuts.elem.NElementBuilderbuild in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder doWith(Consumer<net.thevpc.nuts.elem.NOperatorElementBuilder> con)
doWith in interface net.thevpc.nuts.elem.NOperatorElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder copyFrom(net.thevpc.nuts.elem.NElementBuilder other,
net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy)
copyFrom in interface net.thevpc.nuts.elem.NElementBuildercopyFrom in interface net.thevpc.nuts.elem.NOperatorElementBuildercopyFrom in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder copyFrom(net.thevpc.nuts.elem.NElement other,
net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy)
copyFrom in interface net.thevpc.nuts.elem.NElementBuildercopyFrom in interface net.thevpc.nuts.elem.NOperatorElementBuildercopyFrom in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAnnotations(List<net.thevpc.nuts.elem.NElementAnnotation> annotations)
addAnnotations in interface net.thevpc.nuts.elem.NElementBuilderaddAnnotations in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddAnnotations in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAnnotation(String name, net.thevpc.nuts.elem.NElement... args)
addAnnotation in interface net.thevpc.nuts.elem.NElementBuilderaddAnnotation in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddAnnotation in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAnnotation(net.thevpc.nuts.elem.NElementAnnotation annotation)
addAnnotation in interface net.thevpc.nuts.elem.NElementBuilderaddAnnotation in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddAnnotation in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAffixAt(int index,
net.thevpc.nuts.elem.NBoundAffix affix)
addAffixAt in interface net.thevpc.nuts.elem.NElementBuilderaddAffixAt in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddAffixAt in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder removeAffix(int affix)
removeAffix in interface net.thevpc.nuts.elem.NElementBuilderremoveAffix in interface net.thevpc.nuts.elem.NOperatorElementBuilderremoveAffix in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder clearAnnotations()
clearAnnotations in interface net.thevpc.nuts.elem.NElementBuilderclearAnnotations in interface net.thevpc.nuts.elem.NOperatorElementBuilderclearAnnotations in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder clearAffixes()
clearAffixes in interface net.thevpc.nuts.elem.NElementBuilderclearAffixes in interface net.thevpc.nuts.elem.NOperatorElementBuilderclearAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder clearComments()
clearComments in interface net.thevpc.nuts.elem.NElementBuilderclearComments in interface net.thevpc.nuts.elem.NOperatorElementBuilderclearComments in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder setAffixAt(int index,
net.thevpc.nuts.elem.NBoundAffix affix)
setAffixAt in interface net.thevpc.nuts.elem.NElementBuildersetAffixAt in interface net.thevpc.nuts.elem.NOperatorElementBuildersetAffixAt in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder setAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes)
setAffixes in interface net.thevpc.nuts.elem.NElementBuildersetAffixes in interface net.thevpc.nuts.elem.NOperatorElementBuildersetAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAffix(net.thevpc.nuts.elem.NBoundAffix affix)
addAffix in interface net.thevpc.nuts.elem.NElementBuilderaddAffix in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddAffix in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAffixAt(int index,
net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor)
addAffixAt in interface net.thevpc.nuts.elem.NElementBuilderaddAffixAt in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddAffixAt in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder setAffixAt(int index,
net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor)
setAffixAt in interface net.thevpc.nuts.elem.NElementBuildersetAffixAt in interface net.thevpc.nuts.elem.NOperatorElementBuildersetAffixAt in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder removeDiagnostic(net.thevpc.nuts.elem.NElementDiagnostic error)
removeDiagnostic in interface net.thevpc.nuts.elem.NElementBuilderremoveDiagnostic in interface net.thevpc.nuts.elem.NOperatorElementBuilderremoveDiagnostic in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes)
addAffixes in interface net.thevpc.nuts.elem.NElementBuilderaddAffixes in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addDiagnostic(net.thevpc.nuts.elem.NElementDiagnostic error)
addDiagnostic in interface net.thevpc.nuts.elem.NElementBuilderaddDiagnostic in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddDiagnostic in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAffixes(List<? extends net.thevpc.nuts.elem.NAffix> affixes, net.thevpc.nuts.elem.NAffixAnchor anchor)
addAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addAffix(net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor)
addAffix in interface net.thevpc.nuts.elem.NElementBuilderaddAffix in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder removeAffixes(net.thevpc.nuts.elem.NAffixType type,
net.thevpc.nuts.elem.NAffixAnchor anchor)
removeAffixes in interface net.thevpc.nuts.elem.NElementBuilderremoveAffixes in interface net.thevpc.nuts.elem.NOperatorElementBuilderremoveAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addLeadingComment(net.thevpc.nuts.elem.NElementComment comment)
addLeadingComment in interface net.thevpc.nuts.elem.NElementBuilderaddLeadingComment in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addLeadingComments(net.thevpc.nuts.elem.NElementComment... comments)
addLeadingComments in interface net.thevpc.nuts.elem.NElementBuilderaddLeadingComments in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddLeadingComments in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addTrailingComment(net.thevpc.nuts.elem.NElementComment comment)
addTrailingComment in interface net.thevpc.nuts.elem.NElementBuilderaddTrailingComment in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder addTrailingComments(net.thevpc.nuts.elem.NElementComment... comments)
addTrailingComments in interface net.thevpc.nuts.elem.NElementBuilderaddTrailingComments in interface net.thevpc.nuts.elem.NOperatorElementBuilderaddTrailingComments in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder removeAnnotation(net.thevpc.nuts.elem.NElementAnnotation annotation)
removeAnnotation in interface net.thevpc.nuts.elem.NElementBuilderremoveAnnotation in interface net.thevpc.nuts.elem.NOperatorElementBuilderremoveAnnotation in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder copyFrom(net.thevpc.nuts.elem.NElementBuilder other)
copyFrom in interface net.thevpc.nuts.elem.NElementBuildercopyFrom in interface net.thevpc.nuts.elem.NOperatorElementBuildercopyFrom in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder copyFrom(net.thevpc.nuts.elem.NElement other)
copyFrom in interface net.thevpc.nuts.elem.NElementBuildercopyFrom in interface net.thevpc.nuts.elem.NOperatorElementBuildercopyFrom in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NOperatorElementBuilder metadata(net.thevpc.nuts.elem.NElementMetadata metadata)
metadata in interface net.thevpc.nuts.elem.NElementBuildermetadata in interface net.thevpc.nuts.elem.NOperatorElementBuildermetadata in class AbstractNElementBuilderCopyright © 2026 vpc open source initiative. All rights reserved.