Lines Matching refs:node
322 * The format of a node in a program is: *
328 * char OPNEXT - next node (relative offset) *
339 static final char OP_BRANCH = '|'; // node match this alternative or the next one
341 static final char OP_STAR = '*'; // node kleene closure
342 static final char OP_PLUS = '+'; // node positive closure
343 static final char OP_MAYBE = '?'; // node optional closure
801 * @param lastNode Last valid node (used for matching a subexpression without
811 // Loop while node is valid
815 for (int node = firstNode; node < lastNode; )
817 opcode = instruction[node + offsetOpcode];
818 next = node + (short)instruction[node + offsetNext];
819 opdata = instruction[node + offsetOpdata];
834 while ((once++ == 0) && (idx = matchNodes(node + nodeSize, next, idx)) != -1);
839 while ((idx = matchNodes(node + nodeSize, next, idx)) != -1)
858 while ((idx = matchNodes(node + nodeSize, next, idx)) != -1);
1090 int startAtom = node + nodeSize;
1265 int idxRange = node + nodeSize;
1293 node += nodeSize;
1302 if ((idxNew = matchNodes(node + nodeSize, maxNode, idx)) != -1)
1308 nextBranch = (short)instruction[node + offsetNext];
1309 node += nextBranch;
1311 while (nextBranch != 0 && (instruction[node + offsetOpcode] == OP_BRANCH));
1320 // Just advance to the next node without doing anything
1335 // Advance to the next node in the program
1336 node = next;