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(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-02-01_13h19m22")
public static class TPath.Step
extends TPath.PathExpr
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
FieldsModifier and TypeFieldDescriptionprotected TPath.AxisSpecifierGenerated by umod; model author's documentation MISSING.protected @Opt TPath.ExprGenerated 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, @Opt TPath.Expr> Deprecated.Use new '::' method reference instead.static final Function<TPath.Step, NonNullList<TPath.Expr>> Deprecated.Use new '::' method reference instead.static final Function<TPath.Step, TPath.Test> Deprecated.Use new '::' method reference instead.protected NonNullList<TPath.Expr> Generated by umod; model author's documentation MISSING.protected TPath.TestGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.tpath.absy.TPath.Expr
forced, forcing, get_forced, get_forcingFields inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, location -
Constructor Summary
ConstructorsConstructorDescriptionStep(@Opt Location<XMLDocumentIdentifier> location, @Opt TPath.Expr base, TPath.AxisSpecifier axis, TPath.Test test, NonNullList<TPath.Expr> predicates) Constructor defined according to directive »C 1/..«.
Step(@Opt TPath.Expr base, TPath.AxisSpecifier axis, TPath.Test test) Constructor defined according to directive »C 0/..«.
Step(TPath.AxisSpecifier axis, TPath.Test test) Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_predicates(TPath.MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_predicates(this)orvisitor.followAll_predicates(this)instead.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 @Opt 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 NonNullList<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 StringDelivers the format specification from the umod source.Copies values of all common fields from the argument.booleanGenerated by umod; model author's documentation MISSING.booleanset_base(@Opt TPath.Expr val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanset_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_forcingMethods 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(maybenull)
Its value defaults tonull.
- See Also:
-
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(nevernull)
It is set by every possible constructor.
- See Also:
-
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(nevernull)
It is set by every possible constructor.
- See Also:
-
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 isNonNullList<TPath.Expr(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
get_predicates
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
Step
public Step(@Opt @Opt Location<XMLDocumentIdentifier> location, @Opt @Opt TPath.Expr base, TPath.AxisSpecifier axis, TPath.Test test, NonNullList<TPath.Expr> predicates) Constructor defined according to directive »C 1/..«.
- Parameters:
location- is copied to fieldTPath.Item.locationbase- is copied to fieldbaseaxis- is copied to fieldaxistest- is copied to fieldtestpredicates- is copied to fieldpredicates
-
Step
Constructor defined according to directive »C 0/..«.
-
Step
Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
-
-
Method Details
-
doclone
- Overrides:
doclonein 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:
formatin interfaceFormattable- Overrides:
formatin 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:
initFromin 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(maybenull) - 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(maybenull)- 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(nevernull) - 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(nevernull)- 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(nevernull) - 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(nevernull)- 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
NonNullList<TPath.Expr(nevernull)>(nevernull) - 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 typeNonNullList<TPath.Expr(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_predicates
Deprecated.Usevisitor.follow_predicates(this)orvisitor.followAll_predicates(this)instead. -
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.
-