Class Machine
java.lang.Object
com.google.re2j.Machine
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Machine.Threadadd(Machine.Queue q, int pc, int pos, int[] cap, int cond, Machine.Thread t) private Machine.Threadprivate voidfree(Machine.Queue queue) private voidfree(Machine.Queue queue, int from) private void(package private) voidinit(int ncap) private voidinitNewCap(int ncap) (package private) booleanmatch(MachineInput in, int pos, int anchor) private voidresetCap(int ncap) private voidstep(Machine.Queue runq, Machine.Queue nextq, int pos, int nextPos, int c, int nextCond, int anchor, boolean atEnd) (package private) int[]
-
Field Details
-
re2
-
prog
-
q0
-
q1
-
pool
-
poolSize
private int poolSize -
matched
private boolean matched -
matchcap
private int[] matchcap -
ncap
private int ncap -
next
Machine next
-
-
Constructor Details
-
Method Details
-
init
void init(int ncap) -
resetCap
private void resetCap(int ncap) -
initNewCap
private void initNewCap(int ncap) -
submatches
int[] submatches() -
alloc
-
free
-
free
-
free
-
match
-
step
private void step(Machine.Queue runq, Machine.Queue nextq, int pos, int nextPos, int c, int nextCond, int anchor, boolean atEnd) -
add
-