Package org.joni
Class OptAnchorInfo
java.lang.Object
org.joni.OptAnchorInfo
- All Implemented Interfaces:
AnchorType
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) int
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 -
Method Summary
Modifier and TypeMethodDescription(package private) void
add
(int anchor) (package private) void
altMerge
(OptAnchorInfo other) (package private) static 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)
-
Field Details
-
leftAnchor
int leftAnchor -
rightAnchor
int rightAnchor
-
-
Constructor Details
-
OptAnchorInfo
OptAnchorInfo()
-
-
Method Details
-
clear
void clear() -
copy
-
concat
-
isSet
boolean isSet(int anchor) -
add
void add(int anchor) -
remove
void remove(int anchor) -
altMerge
-
isLeftAnchor
static boolean isLeftAnchor(int anchor) -
anchorToString
-