Home | History | Annotate | Download | only in regexp

Lines Matching refs:Op

42 	if i.Op != syntax.InstEmptyWidth || (syntax.EmptyOp(i.Arg))&syntax.EmptyBeginText == 0 {
43 return "", i.Op == syntax.InstMatch, uint32(p.Start)
47 for i.Op == syntax.InstNop {
53 return "", i.Op == syntax.InstMatch, uint32(p.Start)
62 if i.Op == syntax.InstEmptyWidth &&
64 p.Inst[i.Out].Op == syntax.InstMatch {
71 // It should only be called when i.Op == InstAlt or InstAltMatch, and from the one-pass machine.
79 if i.Op == syntax.InstAltMatch {
86 op := i.Op
87 switch op {
89 op = syntax.InstRune
91 return op
209 switch instOriginal.Op {
236 switch p.Inst[pc].Op {
245 if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
248 if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
254 if instOther.Op == syntax.InstAlt || instOther.Op == syntax.InstAltMatch {
320 switch inst.Op {
337 inst.Op = syntax.InstAltMatch
365 m[pc] = inst.Op == syntax.InstMatch
394 inst.Op = syntax.InstRune
418 inst.Op = syntax.InstRune
472 if prog.Inst[prog.Start].Op != syntax.InstEmptyWidth ||
478 opOut := prog.Inst[inst.Out].Op
479 switch inst.Op {
485 if opOut == syntax.InstMatch || prog.Inst[inst.Arg].Op == syntax.InstMatch {