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#L116: Op InstOp
prog.go#L131: for i.Op == InstNop || i.Op == InstCapture {
prog.go#L139: op := i.Op
prog.go#L155: return "", i.Op == InstMatch
prog.go#L164: return buf.String(), i.Op == InstMatch
prog.go#L175: switch i.Op {
prog.go#L317: 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.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |