java.lang.Object
org.joni.OptAnchorInfo
- All Implemented Interfaces:
AnchorType
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) intFields inherited from interface org.joni.constants.internal.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) voidadd(int anchor) (package private) voidaltMerge(OptAnchorInfo other) (package private) static StringanchorToString(int anchor) (package private) voidclear()(package private) voidconcat(OptAnchorInfo left, OptAnchorInfo right, int leftLength, int rightLength) (package private) voidcopy(OptAnchorInfo other) (package private) static booleanisLeftAnchor(int anchor) (package private) booleanisSet(int anchor) (package private) voidremove(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
-