final class OptAnchorInfo extends Object implements AnchorType
Modifier and Type | Field and Description |
---|---|
(package private) int |
leftAnchor |
(package private) int |
rightAnchor |
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 and Description |
---|
OptAnchorInfo() |
Modifier and Type | Method and Description |
---|---|
(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) |
void clear()
void copy(OptAnchorInfo other)
void concat(OptAnchorInfo left, OptAnchorInfo right, int leftLength, int rightLength)
boolean isSet(int anchor)
void add(int anchor)
void remove(int anchor)
void altMerge(OptAnchorInfo other)
static boolean isLeftAnchor(int anchor)
static String anchorToString(int anchor)
Copyright © 2018. All rights reserved.