MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / allocParens

Method allocParens

CodenameOne/src/com/codename1/util/regex/RE.java:739–749  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

737
738 /// Performs lazy allocation of subexpression arrays
739 private void allocParens() {
740 // Allocate arrays for subexpressions
741 startn = new int[maxParen];
742 endn = new int[maxParen];
743
744 // Set sub-expression pointers to invalid values
745 for (int i = 0; i < maxParen; i++) {
746 startn[i] = -1;
747 endn[i] = -1;
748 }
749 }
750
751 /// Try to match a string against a subset of nodes in the program
752 ///

Callers 4

getParenStartMethod · 0.95
getParenEndMethod · 0.95
setParenStartMethod · 0.95
setParenEndMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected