Horizontal cursor for node attributes
Attributes
- Companion:
- object
- Graph
- Supertypes
- Self type
Members list
Value members
Concrete methods
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation.
Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that
objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int.
(o1.hashCode.equals(o2.hashCode)
).
Attributes
- that
the object to compare against this object for equality.
- Returns:
true
if the receiver object is equivalent to the argument;false
otherwise.- Definition Classes
- Any
Apply the current cursor to the specified input. This allows to select a precise part of the
Xml
tree.
Apply the current cursor to the specified input. This allows to select a precise part of the
Xml
tree.
The method is pure and return a Left when the focusing fails
Attributes
- input
target of the cursor
- Returns:
Right
when succeedLeft
when fail- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
- WithModifierSupport
Attributes
- Definition Classes
- WithDataModifierSupport
Attributes
- Definition Classes
Inherited methods
Create a FreeCursor
which represent a cursor with a free T
type as result of the focusing,
this implies that a Decoder
instance is need to convert the fixed Xml
type of the Cursor
to the free T
type of the FreeCursor
.
Create a FreeCursor
which represent a cursor with a free T
type as result of the focusing,
this implies that a Decoder
instance is need to convert the fixed Xml
type of the Cursor
to the free T
type of the FreeCursor
.
So, practically speaking, when the FreeCursor
is applied this Cursor
is applied and the
result is decoded using the specified Decoder
for type T
.
Attributes
- T
free type in which decode the current cursor result
- Returns:
A new
FreeCursor
- Inherited from:
- Cursor
Attributes
- Inherited from:
- WithDataModifierSupport (hidden)
Attributes
- Inherited from:
- WithDataModifierSupport (hidden)
Concrete fields
A String representation of the cursor.
A String representation of the cursor.
Attributes
- Returns:
a String which represent the cursor path