regexp/syntax.Inst.Op (field)
43 uses
regexp/syntax (current package)
compile.go#L163: c.p.Inst = append(c.p.Inst, Inst{Op: op})
compile.go#L271: i.Op = InstRune1
compile.go#L273: i.Op = InstRuneAny
compile.go#L275: i.Op = InstRuneAnyNotNL
prog.go#L113: Op InstOp
prog.go#L128: for i.Op == InstNop || i.Op == InstCapture {
prog.go#L136: op := i.Op
prog.go#L152: return "", i.Op == InstMatch
prog.go#L161: return buf.String(), i.Op == InstMatch
prog.go#L172: switch i.Op {
prog.go#L314: 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#L42: if i.Op != syntax.InstEmptyWidth || (syntax.EmptyOp(i.Arg))&syntax.EmptyBeginText == 0 {
onepass.go#L43: return "", i.Op == syntax.InstMatch, uint32(p.Start)
onepass.go#L47: for i.Op == syntax.InstNop {
onepass.go#L53: return "", i.Op == syntax.InstMatch, uint32(p.Start)
onepass.go#L62: if i.Op == syntax.InstEmptyWidth &&
onepass.go#L64: p.Inst[i.Out].Op == syntax.InstMatch {
onepass.go#L79: if i.Op == syntax.InstAltMatch {
onepass.go#L86: op := i.Op
onepass.go#L209: switch instOriginal.Op {
onepass.go#L237: switch p.Inst[pc].Op {
onepass.go#L246: if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
onepass.go#L249: if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
onepass.go#L255: if instOther.Op == syntax.InstAlt || instOther.Op == syntax.InstAltMatch {
onepass.go#L321: switch inst.Op {
onepass.go#L338: inst.Op = syntax.InstAltMatch
onepass.go#L366: m[pc] = inst.Op == syntax.InstMatch
onepass.go#L394: inst.Op = syntax.InstRune
onepass.go#L418: inst.Op = syntax.InstRune
onepass.go#L470: if prog.Inst[prog.Start].Op != syntax.InstEmptyWidth ||
onepass.go#L476: opOut := prog.Inst[inst.Out].Op
onepass.go#L477: switch inst.Op {
onepass.go#L483: if opOut == syntax.InstMatch || prog.Inst[inst.Arg].Op == syntax.InstMatch {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |