Package eu.bandm.tools.dtm
Class DTM.CP
java.lang.Object
eu.bandm.tools.dtm.DTM.Content
eu.bandm.tools.dtm.DTM.CP
- All Implemented Interfaces:
Formattable
,Cloneable
- Direct Known Subclasses:
DTM.Choice
,DTM.Sequence
,DTM.Singleton
- Enclosing class:
- DTM
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":42.1-43.49, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":42.1-43.49, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionprotected EBNFModifier
Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorDescriptionCP
(EBNFModifier modifier) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.Generated by umod; model author's documentation MISSING.get_modifier
(Pattern<? super EBNFModifier> 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.Generated by umod; model author's documentation MISSING.
-
Field Details
-
modifier
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":43.9-49, see this pretty print.)
The type of this field isEBNFModifier
(never null)
It is set by every possible constructor.
-
-
Constructor Details
-
CP
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
modifier
- is copied to fieldmodifier
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classDTM.Content
- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in classDTM.Content
- 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.- Overrides:
initFrom
in classDTM.Content
-
get_modifier
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":43.9-49, see this pretty print.)
Generated getter method. @see #modifier- Returns:
- The current field value of type
EBNFModifier
(never null)
-
with_modifier
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":43.9-49, see this pretty print.)- Parameters:
val
- the new value of typeEBNFModifier
(never null)- Returns:
- a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
- See Also:
-
get_modifier
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 classDTM.__Patterns
.
-