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) intleftAnchor(package private) intrightAnchor-
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) voidadd(int anchor)(package private) voidaltMerge(OptAnchorInfo other)(package private) static java.lang.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)
-
-
-
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)
-
-