This item with a position that's the union of the given pos
and the
current position.
This item with a position that's the union of the given pos
and the
current position.
Check that all positioned items in this tree satisfy the following conditions:
Check that all positioned items in this tree satisfy the following conditions:
The initial, synthetic position.
The initial, synthetic position. This is usually the union of all positioned children's positions.
The item's position.
The item's position.
Destructively update curPos
to given position.
Destructively update curPos
to given position. Also, set any missing
positions in children.
Throws an UnsupportedOperationException
with the given method name.
Throws an UnsupportedOperationException
with the given method name.
A positioned item like this one with the position set to pos
.
A positioned item like this one with the position set to pos
.
if the positioned item is source-derived, a clone is returned.
If the positioned item is synthetic, the position is updated
destructively and the item itself is returned.
Mod is intended to record syntactic information about modifiers, it's NOT a replacement of FlagSet.
For any query about semantic information, check
flags
instead.