public static class TPath.Step extends TPath.PathExpr
Modifier and Type | Field and Description |
---|---|
protected TPath.AxisSpecifier |
axis |
protected TPath.Expr |
base |
static Function<TPath.Step,TPath.AxisSpecifier> |
get_axis
Deprecated.
Use new '::' method reference instead.
|
static Function<TPath.Step,TPath.Expr> |
get_base
Deprecated.
Use new '::' method reference instead.
|
static Function<TPath.Step,CheckedList<TPath.Expr>> |
get_predicates
Deprecated.
Use new '::' method reference instead.
|
static Function<TPath.Step,TPath.Test> |
get_test
Deprecated.
Use new '::' method reference instead.
|
protected CheckedList<TPath.Expr> |
predicates |
protected TPath.Test |
test |
forced, forcing, get_forced, get_forcing
get_location, location
format
Constructor and Description |
---|
Step(TPath.AxisSpecifier axis,
TPath.Test test) |
Step(TPath.Expr base,
TPath.AxisSpecifier axis,
TPath.Test test) |
Modifier and Type | Method and Description |
---|---|
void |
descend_predicates(TPath.MATCH_ONLY_00 visitor) |
TPath.Step |
doclone() |
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
TPath.AxisSpecifier |
get_axis() |
TPath.Expr |
get_base() |
CheckedList<TPath.Expr> |
get_predicates() |
TPath.Test |
get_test() |
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
TPath.Step |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_axis(TPath.AxisSpecifier val) |
boolean |
set_base(TPath.Expr val) |
boolean |
set_predicates(CheckedList<TPath.Expr> val) |
boolean |
set_test(TPath.Test val) |
get_forced, get_forcing, set_forced, set_forcing
get_location, set_location
protected TPath.Expr base
@Deprecated public static final Function<TPath.Step,TPath.Expr> get_base
protected TPath.AxisSpecifier axis
@Deprecated public static final Function<TPath.Step,TPath.AxisSpecifier> get_axis
protected TPath.Test test
@Deprecated public static final Function<TPath.Step,TPath.Test> get_test
protected CheckedList<TPath.Expr> predicates
@Deprecated public static final Function<TPath.Step,CheckedList<TPath.Expr>> get_predicates
public Step(TPath.Expr base, TPath.AxisSpecifier axis, TPath.Test test)
public Step(TPath.AxisSpecifier axis, TPath.Test test)
public TPath.Step doclone()
doclone
in class TPath.PathExpr
public static String getFormatHint()
(base'/'?),>axis'::',>test,>predicates{'['$this']'}[,]
public Format format()
format
in interface Formattable
format
in class TPath.PathExpr
public TPath.Step initFrom(Object o0)
initFrom
in class TPath.PathExpr
public TPath.Expr get_base()
public boolean set_base(TPath.Expr val)
public TPath.AxisSpecifier get_axis()
public boolean set_axis(TPath.AxisSpecifier val)
public TPath.Test get_test()
public boolean set_test(TPath.Test val)
public CheckedList<TPath.Expr> get_predicates()
public boolean set_predicates(CheckedList<TPath.Expr> val)
public void descend_predicates(TPath.MATCH_ONLY_00 visitor)
see also the complete user documentation .