Methods Summary |
---|
static org.apache.xerces.impl.xpath.regex.Op$CharOp | createAnchor(int data)
if (Op.COUNT) Op.nofinstances ++;
return new CharOp(Op.ANCHOR, data);
|
static org.apache.xerces.impl.xpath.regex.Op$CharOp | createBackReference(int refno)
if (Op.COUNT) Op.nofinstances ++;
return new CharOp(Op.BACKREFERENCE, refno);
|
static org.apache.xerces.impl.xpath.regex.Op$CharOp | createCapture(int number, org.apache.xerces.impl.xpath.regex.Op next)
if (Op.COUNT) Op.nofinstances ++;
CharOp op = new CharOp(Op.CAPTURE, number);
op.next = next;
return op;
|
static org.apache.xerces.impl.xpath.regex.Op$CharOp | createChar(int data)
if (Op.COUNT) Op.nofinstances ++;
return new CharOp(Op.CHAR, data);
|
static org.apache.xerces.impl.xpath.regex.Op$ChildOp | createClosure(int id)
if (Op.COUNT) Op.nofinstances ++;
return new ModifierOp(Op.CLOSURE, id, -1);
|
static org.apache.xerces.impl.xpath.regex.Op$ConditionOp | createCondition(org.apache.xerces.impl.xpath.regex.Op next, int ref, org.apache.xerces.impl.xpath.regex.Op conditionflow, org.apache.xerces.impl.xpath.regex.Op yesflow, org.apache.xerces.impl.xpath.regex.Op noflow)
if (Op.COUNT) Op.nofinstances ++;
ConditionOp op = new ConditionOp(Op.CONDITION, ref, conditionflow, yesflow, noflow);
op.next = next;
return op;
|
static org.apache.xerces.impl.xpath.regex.Op | createDot()
if (Op.COUNT) Op.nofinstances ++;
return new Op(Op.DOT);
|
static org.apache.xerces.impl.xpath.regex.Op$ChildOp | createIndependent(org.apache.xerces.impl.xpath.regex.Op next, org.apache.xerces.impl.xpath.regex.Op branch)
if (Op.COUNT) Op.nofinstances ++;
ChildOp op = new ChildOp(Op.INDEPENDENT);
op.setChild(branch);
op.next = next;
return op;
|
static org.apache.xerces.impl.xpath.regex.Op$ChildOp | createLook(int type, org.apache.xerces.impl.xpath.regex.Op next, org.apache.xerces.impl.xpath.regex.Op branch)
if (Op.COUNT) Op.nofinstances ++;
ChildOp op = new ChildOp(type);
op.setChild(branch);
op.next = next;
return op;
|
static org.apache.xerces.impl.xpath.regex.Op$ModifierOp | createModifier(org.apache.xerces.impl.xpath.regex.Op next, org.apache.xerces.impl.xpath.regex.Op branch, int add, int mask)
if (Op.COUNT) Op.nofinstances ++;
ModifierOp op = new ModifierOp(Op.MODIFIER, add, mask);
op.setChild(branch);
op.next = next;
return op;
|
static org.apache.xerces.impl.xpath.regex.Op$ChildOp | createNonGreedyClosure()
if (Op.COUNT) Op.nofinstances ++;
return new ChildOp(Op.NONGREEDYCLOSURE);
|
static org.apache.xerces.impl.xpath.regex.Op$ChildOp | createQuestion(boolean nongreedy)
if (Op.COUNT) Op.nofinstances ++;
return new ChildOp(nongreedy ? Op.NONGREEDYQUESTION : Op.QUESTION);
|
static org.apache.xerces.impl.xpath.regex.Op$RangeOp | createRange(Token tok)
if (Op.COUNT) Op.nofinstances ++;
return new RangeOp(Op.RANGE, tok);
|
static org.apache.xerces.impl.xpath.regex.Op$StringOp | createString(java.lang.String literal)
if (Op.COUNT) Op.nofinstances ++;
return new StringOp(Op.STRING, literal);
|
static org.apache.xerces.impl.xpath.regex.Op$UnionOp | createUnion(int size)
if (Op.COUNT) Op.nofinstances ++;
//System.err.println("Creates UnionOp");
return new UnionOp(Op.UNION, size);
|
org.apache.xerces.impl.xpath.regex.Op | elementAt(int index) // for UNIoN
throw new RuntimeException("Internal Error: type="+this.type);
|
org.apache.xerces.impl.xpath.regex.Op | getChild() // for CLOSURE, QUESTION
throw new RuntimeException("Internal Error: type="+this.type);
|
int | getData() // CharOp for CHAR, BACKREFERENCE, CAPTURE, ANCHOR,
throw new RuntimeException("Internal Error: type="+this.type);
|
int | getData2() // ModifierOp
throw new RuntimeException("Internal Error: type="+this.type);
|
java.lang.String | getString() // STRING
throw new RuntimeException("Internal Error: type="+this.type);
|
RangeToken | getToken() // RANGE, NRANGE
throw new RuntimeException("Internal Error: type="+this.type);
|
int | size() // for UNION
return 0;
|