regexp/syntax.Prog.Inst (field)
40 uses
regexp/syntax (current package)
compile.go#L30: i := &p.Inst[head>>1]
compile.go#L49: i := &p.Inst[l1.tail>>1]
compile.go#L163: f := frag{i: uint32(len(c.p.Inst)), nullable: true}
compile.go#L164: c.p.Inst = append(c.p.Inst, Inst{Op: op})
compile.go#L181: c.p.Inst[f.i].Arg = arg
compile.go#L211: i := &c.p.Inst[f.i]
compile.go#L221: i := &c.p.Inst[f.i]
compile.go#L240: i := &c.p.Inst[f.i]
compile.go#L267: c.p.Inst[f.i].Arg = uint32(op)
compile.go#L275: i := &c.p.Inst[f.i]
prog.go#L19: Inst []Inst
prog.go#L130: i := &p.Inst[pc]
prog.go#L132: i = &p.Inst[i.Out]
prog.go#L172: i := &p.Inst[pc]
prog.go#L186: i = &p.Inst[pc]
prog.go#L297: for j := range p.Inst {
prog.go#L298: i := &p.Inst[j]
regexp
backtrack.go#L68: return maxBacktrackVector / len(prog.Inst)
backtrack.go#L74: return len(prog.Inst) <= maxBacktrackProg
backtrack.go#L89: visitedSize := (len(prog.Inst)*(end+1) + visitedBits - 1) / visitedBits
backtrack.go#L134: if re.prog.Inst[pc].Op != syntax.InstFail && (arg || b.shouldVisit(pc, pos)) {
backtrack.go#L166: inst := &re.prog.Inst[pc]
backtrack.go#L195: switch re.prog.Inst[inst.Out].Op {
exec.go#L333: i := &m.p.Inst[pc]
onepass.go#L42: i := &p.Inst[p.Start]
onepass.go#L47: i = &p.Inst[pc]
onepass.go#L50: i = &p.Inst[pc]
onepass.go#L61: pc, i = i.Out, &p.Inst[i.Out]
onepass.go#L65: p.Inst[i.Out].Op == syntax.InstMatch {
onepass.go#L209: for ix, instOriginal := range original.Inst {
onepass.go#L226: Inst: make([]onePassInst, len(prog.Inst)),
onepass.go#L228: for i, inst := range prog.Inst {
onepass.go#L471: if prog.Inst[prog.Start].Op != syntax.InstEmptyWidth ||
onepass.go#L472: syntax.EmptyOp(prog.Inst[prog.Start].Arg)&syntax.EmptyBeginText != syntax.EmptyBeginText {
onepass.go#L476: for _, inst := range prog.Inst {
onepass.go#L477: opOut := prog.Inst[inst.Out].Op
onepass.go#L484: if opOut == syntax.InstMatch || prog.Inst[inst.Arg].Op == syntax.InstMatch {
regexp.go#L214: n := len(prog.Inst)
regexp.go#L256: n = len(re.prog.Inst)
|
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. |