()
| 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 | /// |
no outgoing calls
no test coverage detected