Package org.joni
Class OptAnchorInfo
- java.lang.Object
-
- org.joni.OptAnchorInfo
-
- All Implemented Interfaces:
AnchorType
final class OptAnchorInfo extends java.lang.Object implements AnchorType
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
leftAnchor
(package private) int
rightAnchor
-
Fields inherited from interface org.joni.constants.AnchorType
ALLOWED_IN_LB, ALLOWED_IN_LB_NOT, ANYCHAR_STAR, ANYCHAR_STAR_MASK, ANYCHAR_STAR_ML, BEGIN_BUF, BEGIN_LINE, BEGIN_POSITION, END_BUF, END_BUF_MASK, END_LINE, KEEP, LOOK_BEHIND, LOOK_BEHIND_NOT, NOT_WORD_BOUND, PREC_READ, PREC_READ_NOT, SEMI_END_BUF, WORD_BEGIN, WORD_BOUND, WORD_END
-
-
Constructor Summary
Constructors Constructor Description OptAnchorInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
add(int anchor)
(package private) void
altMerge(OptAnchorInfo other)
(package private) static java.lang.String
anchorToString(int anchor)
(package private) void
clear()
(package private) void
concat(OptAnchorInfo left, OptAnchorInfo right, int leftLength, int rightLength)
(package private) void
copy(OptAnchorInfo other)
(package private) static boolean
isLeftAnchor(int anchor)
(package private) boolean
isSet(int anchor)
(package private) void
remove(int anchor)
-
-
-
Method Detail
-
clear
void clear()
-
copy
void copy(OptAnchorInfo other)
-
concat
void concat(OptAnchorInfo left, OptAnchorInfo right, int leftLength, int rightLength)
-
isSet
boolean isSet(int anchor)
-
add
void add(int anchor)
-
remove
void remove(int anchor)
-
altMerge
void altMerge(OptAnchorInfo other)
-
isLeftAnchor
static boolean isLeftAnchor(int anchor)
-
anchorToString
static java.lang.String anchorToString(int anchor)
-
-