regexp/syntax.Inst.Op (field)
43 uses
regexp/syntax (current package)
compile.go#L164: c.p.Inst = append(c.p.Inst, Inst{Op: op})
compile.go#L288: i.Op = InstRune1
compile.go#L290: i.Op = InstRuneAny
compile.go#L292: i.Op = InstRuneAnyNotNL
prog.go#L114: Op InstOp
prog.go#L129: for i.Op == InstNop || i.Op == InstCapture {
prog.go#L137: op := i.Op
prog.go#L153: return "", i.Op == InstMatch
prog.go#L162: return buf.String(), i.Op == InstMatch
prog.go#L173: switch i.Op {
prog.go#L315: switch i.Op {
regexp
backtrack.go#L134: if re.prog.Inst[pc].Op != syntax.InstFail && (arg || b.shouldVisit(pc, pos)) {
backtrack.go#L168: switch inst.Op {
backtrack.go#L195: switch re.prog.Inst[inst.Out].Op {
exec.go#L274: switch i.Op {
exec.go#L334: switch i.Op {
exec.go#L447: switch inst.Op {
onepass.go#L43: if i.Op != syntax.InstEmptyWidth || (syntax.EmptyOp(i.Arg))&syntax.EmptyBeginText == 0 {
onepass.go#L44: return "", i.Op == syntax.InstMatch, uint32(p.Start)
onepass.go#L48: for i.Op == syntax.InstNop {
onepass.go#L54: return "", i.Op == syntax.InstMatch, uint32(p.Start)
onepass.go#L63: if i.Op == syntax.InstEmptyWidth &&
onepass.go#L65: p.Inst[i.Out].Op == syntax.InstMatch {
onepass.go#L80: if i.Op == syntax.InstAltMatch {
onepass.go#L87: op := i.Op
onepass.go#L210: switch instOriginal.Op {
onepass.go#L238: switch p.Inst[pc].Op {
onepass.go#L247: if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
onepass.go#L250: if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
onepass.go#L256: if instOther.Op == syntax.InstAlt || instOther.Op == syntax.InstAltMatch {
onepass.go#L322: switch inst.Op {
onepass.go#L339: inst.Op = syntax.InstAltMatch
onepass.go#L367: m[pc] = inst.Op == syntax.InstMatch
onepass.go#L395: inst.Op = syntax.InstRune
onepass.go#L419: inst.Op = syntax.InstRune
onepass.go#L471: if prog.Inst[prog.Start].Op != syntax.InstEmptyWidth ||
onepass.go#L477: opOut := prog.Inst[inst.Out].Op
onepass.go#L478: switch inst.Op {
onepass.go#L484: if opOut == syntax.InstMatch || prog.Inst[inst.Arg].Op == syntax.InstMatch {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)