Package eu.bandm.tools.tpath.absy
Class TPath.Step
java.lang.Object
eu.bandm.tools.tpath.absy.TPath.Item
eu.bandm.tools.tpath.absy.TPath.Expr
eu.bandm.tools.tpath.absy.TPath.PathExpr
eu.bandm.tools.tpath.absy.TPath.Step
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- TPath
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":99.1-104.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":99.1-104.16, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionprotected TPath.AxisSpecifier
Generated by umod; model author's documentation MISSING.protected TPath.Expr
Generated by umod; model author's documentation MISSING.static final Function<TPath.Step,
TPath.AxisSpecifier> Deprecated.Use new '::' method reference instead.static final Function<TPath.Step,
TPath.Expr> Deprecated.Use new '::' method reference instead.static final Function<TPath.Step,
CheckedList<TPath.Expr>> Deprecated.Use new '::' method reference instead.static final Function<TPath.Step,
TPath.Test> Deprecated.Use new '::' method reference instead.protected CheckedList<TPath.Expr>
Generated by umod; model author's documentation MISSING.protected TPath.Test
Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.tpath.absy.TPath.Expr
forced, forcing, get_forced, get_forcing
Fields inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, location
-
Constructor Summary
ConstructorDescriptionStep
(Location<XMLDocumentIdentifier> location, TPath.Expr base, TPath.AxisSpecifier axis, TPath.Test test, CheckedList<TPath.Expr> predicates) Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".Step
(TPath.AxisSpecifier axis, TPath.Test test) Synthetic minimal constructor provided by the umod compiler.Step
(TPath.Expr base, TPath.AxisSpecifier axis, TPath.Test test) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptionvoid
descend_predicates
(TPath.MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing, as specified in the umod source.get_axis()
Generated by umod; model author's documentation MISSING.static Pattern<TPath.Step>
get_axis
(Pattern<? super TPath.AxisSpecifier> p) Lifts a pattern which matches the field value to one which matches this whole object.get_base()
Generated by umod; model author's documentation MISSING.static Pattern<TPath.Step>
get_base
(Pattern<? super TPath.Expr> 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<TPath.Step>
get_predicates
(Pattern<? super CheckedList<TPath.Expr>> p) Lifts a pattern which matches the field value to one which matches this whole object.get_test()
Generated by umod; model author's documentation MISSING.static Pattern<TPath.Step>
get_test
(Pattern<? super TPath.Test> p) Lifts a pattern which matches the field value to one which matches this whole object.static String
Delivers the format specification from the umod source.Copies values of all common fields from the argument.boolean
Generated by umod; model author's documentation MISSING.boolean
set_base
(TPath.Expr val) Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
set_test
(TPath.Test val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Expr
get_forced, get_forced, get_forcing, get_forcing, set_forced, set_forcing
Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, get_location, set_location
-
Field Details
-
base
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":100.9-59, see this pretty print.)
The type of this field isTPath.Expr
(maybe null)
Its value defaults to null. -
get_base
Deprecated.Use new '::' method reference instead. -
axis
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":101.9-59, see this pretty print.)
The type of this field isTPath.AxisSpecifier
(never null)
It is set by every possible constructor. -
get_axis
Deprecated.Use new '::' method reference instead. -
test
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":102.9-59, see this pretty print.)
The type of this field isTPath.Test
(never null)
It is set by every possible constructor. -
get_test
Deprecated.Use new '::' method reference instead. -
predicates
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":103.9-59, see this pretty print.)
The type of this field isCheckedList
<TPath.Expr
(never null)>(never null)
Its value defaults to an empty collection. -
get_predicates
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
Step
public Step(Location<XMLDocumentIdentifier> location, TPath.Expr base, TPath.AxisSpecifier axis, TPath.Test test, CheckedList<TPath.Expr> predicates) Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".- Parameters:
location
- is copied to fieldTPath.Item.location
base
- is copied to fieldbase
axis
- is copied to fieldaxis
test
- is copied to fieldtest
predicates
- is copied to fieldpredicates
-
Step
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Step
Synthetic minimal constructor provided by the umod compiler.
Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classTPath.PathExpr
- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
(base'/'?),>axis'::',>test,>predicates{'['$this']'}[,]
This can be used e.g. by format code interpreters which process objects of different origin. -
format
Delivers a format object for pretty-printing, as specified in the umod source.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in classTPath.PathExpr
- 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 classTPath.PathExpr
-
get_base
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":100.9-59, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
TPath.Expr
(maybe null) - See Also:
-
set_base
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":100.9-59, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeTPath.Expr
(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_axis
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":101.9-59, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
TPath.AxisSpecifier
(never null) - See Also:
-
set_axis
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":101.9-59, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeTPath.AxisSpecifier
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_test
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":102.9-59, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
TPath.Test
(never null) - See Also:
-
set_test
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":102.9-59, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeTPath.Test
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_predicates
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":103.9-59, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList
<TPath.Expr
(never null)>(never null) - See Also:
-
set_predicates
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":103.9-59, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<TPath.Expr
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_predicates
Deprecated. -
get_base
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 classTPath.__Patterns
. -
get_axis
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 classTPath.__Patterns
. -
get_test
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 classTPath.__Patterns
. -
get_predicates
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 classTPath.__Patterns
.
-