Package eu.bandm.tools.d2d2.model
Class Expression
java.lang.Object
eu.bandm.tools.d2d2.model.Expr0
eu.bandm.tools.d2d2.model.Expression
- All Implemented Interfaces:
Formattable,Serializable,Cloneable
- Direct Known Subclasses:
CharExpr,Empty,GrMult,GrUnary,Insertion,None,ParseParticle,Pcdata,Reference,StringConst,Subst
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-01-24_19h42m14")
public class Expression
extends Expr0
implements Serializable
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":32.3-39.5, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":32.3-39.5, see this pretty print.)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanGenerated by umod; model author's documentation MISSING.static final Emptyprotected @Opt NonNullMap<String, Expression> Generated by umod; model author's documentation MISSING.static final Function<Expression, Boolean> Deprecated.Use new '::' method reference instead.static final Function<Expression, @Opt NonNullMap<String, Expression>> Deprecated.Use new '::' method reference instead.static final Function<Expression, @Opt NonNullMap<String, Expression>> Deprecated.Use new '::' method reference instead.static final Nonestatic final Pcdataprotected @Opt NonNullMap<String, Expression> Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.d2d2.model.Expr0
get_location, location -
Constructor Summary
ConstructorsConstructorDescriptionConstructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
(All object fields are set to their default values.)
Expression(@Opt Location<XMLDocumentIdentifier> location) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_firsts(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_firsts(this)orvisitor.followAll_firsts(this)instead.voiddescend_weakfirsts(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_weakfirsts(this)orvisitor.followAll_weakfirsts(this)instead.doclone()Clones this object.format()Delivers a format object for pretty-printing by inheritance from some ancestor class.booleanGenerated by umod; model author's documentation MISSING.static Pattern<Expression> get_canProduceEpsilon(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.static Pattern<Expression> get_firsts(Pattern<? super @Opt NonNullMap<String, Expression>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.static Pattern<Expression> get_weakfirsts(Pattern<? super @Opt NonNullMap<String, Expression>> p) Lifts a pattern which matches the field value to one which matches this whole object.Copies values of all common fields from the argument.booleanset_canProduceEpsilon(boolean val) Generated by umod; model author's documentation MISSING.booleanset_firsts(@Opt NonNullMap<String, Expression> val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.d2d2.model.Expr0
get_location, get_location, set_location
-
Field Details
-
EMPTY
-
PCDATA
-
NONE
-
canProduceEpsilon
protected boolean canProduceEpsilonGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":35.5-32, see this pretty print.)
The type of this field is boolean(nevernull)
Its value defaults tofalse.
- See Also:
-
get_canProduceEpsilon
Deprecated.Use new '::' method reference instead. -
firsts
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":36.5-50, see this pretty print.)
The type of this field isNonNullMap<java.lang.String(nevernull),Expression(nevernull)>(maybenull)
Its value defaults tonull.
- See Also:
-
get_firsts
Deprecated.Use new '::' method reference instead. -
weakfirsts
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":37.5-50, see this pretty print.)
The type of this field isNonNullMap<java.lang.String(nevernull),Expression(nevernull)>(maybenull)
Its value defaults tonull.
- See Also:
-
get_weakfirsts
@Deprecated public static final Function<Expression,@Opt NonNullMap<String, get_weakfirstsExpression>> Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
Expression
Constructor defined according to directive »C 0/..«.
- Parameters:
location- is copied to fieldExpr0.location
-
Expression
public Expression()Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
(All object fields are set to their default values.)
-
-
Method Details
-
doclone
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classExpr0- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument. -
get_canProduceEpsilon
public boolean get_canProduceEpsilon()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":35.5-32, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type boolean(never
null) - See Also:
-
set_canProduceEpsilon
public boolean set_canProduceEpsilon(boolean val) Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":35.5-32, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of type boolean(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_firsts
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":36.5-50, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullMap<java.lang.String(nevernull),Expression(nevernull)>(maybenull) - See Also:
-
set_firsts
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":36.5-50, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullMap<java.lang.String(nevernull),Expression(nevernull)>(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_firsts
Deprecated.Usevisitor.follow_firsts(this)orvisitor.followAll_firsts(this)instead. -
get_weakfirsts
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":37.5-50, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullMap<java.lang.String(nevernull),Expression(nevernull)>(maybenull) - See Also:
-
set_weakfirsts
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":37.5-50, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullMap<java.lang.String(nevernull),Expression(nevernull)>(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_weakfirsts
Deprecated.Usevisitor.follow_weakfirsts(this)orvisitor.followAll_weakfirsts(this)instead. -
get_canProduceEpsilon
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns. -
get_firsts
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns. -
get_weakfirsts
public static Pattern<Expression> get_weakfirsts(Pattern<? super @Opt NonNullMap<String, Expression>> p) Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns.
-