HCursor
Attributes
- Graph
- Supertypes
- Known subtypes
- class AttrCursor
Members list
Type members
Types
Value members
Concrete methods
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
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- Inherited from:
- Cursor
A String representation of the cursor.
A String representation of the cursor.
Attributes
- Returns:
a String which represent the cursor path
- Inherited from:
- Cursor