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 by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":31.3-38.5, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":31.3-38.5, see this pretty print.)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Generated by umod; model author's documentation MISSING.static final Empty
protected CheckedMap_RD<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,
CheckedMap_RD<String, Expression>> Deprecated.Use new '::' method reference instead.static final Function<Expression,
CheckedMap_RD<String, Expression>> Deprecated.Use new '::' method reference instead.static final None
static final Pcdata
protected CheckedMap_RD<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
ConstructorDescriptionSynthetic minimal constructor provided by the umod compiler.Expression
(Location<XMLDocumentIdentifier> location) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptionvoid
descend_firsts
(MATCH_ONLY_00 visitor) Deprecated.void
descend_weakfirsts
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.boolean
Generated 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 CheckedMap_RD<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 CheckedMap_RD<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.boolean
set_canProduceEpsilon
(boolean val) Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated 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":34.5-32, see this pretty print.)
The type of this field is boolean(never null)
Its value defaults tofalse
. -
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":35.5-50, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(never null),Expression
(never null)>(maybe null)
Its value defaults to null. -
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":36.5-50, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(never null),Expression
(never null)>(maybe null)
Its value defaults to null. -
get_weakfirsts
@Deprecated public static final Function<Expression,CheckedMap_RD<String, get_weakfirstsExpression>> Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
Expression
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
location
- is copied to fieldExpr0.location
-
Expression
public Expression()Synthetic minimal constructor provided by the umod compiler.
Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.
(All object fields are set to their default values.)
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented. -
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in 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":34.5-32, see this pretty print.)
Generated getter method. @see #canProduceEpsilon- Returns:
- The current field value of type boolean(never null)
-
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":34.5-32, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type boolean(never null)- 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":35.5-50, see this pretty print.)
Generated getter method. @see #firsts- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(never null),Expression
(never null)>(maybe null)
-
set_firsts
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":35.5-50, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<java.lang.String(never null),Expression
(never null)>(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_firsts
Deprecated. -
get_weakfirsts
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. @see #weakfirsts- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(never null),Expression
(never null)>(maybe null)
-
set_weakfirsts
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 typeCheckedMap_RD
<java.lang.String(never null),Expression
(never null)>(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_weakfirsts
Deprecated. -
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 CheckedMap_RD<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
.
-