regexp/syntax.Inst.Arg (field)
54 uses
regexp/syntax (current package)
compile.go#L35: head = i.Arg
compile.go#L36: i.Arg = val
compile.go#L53: i.Arg = l2.head
compile.go#L181: c.p.Inst[f.i].Arg = arg
compile.go#L213: i.Arg = f2.i
compile.go#L223: i.Arg = f1.i
compile.go#L242: i.Arg = f1.i
compile.go#L267: c.p.Inst[f.i].Arg = uint32(op)
compile.go#L282: i.Arg = uint32(flags)
prog.go#L118: Arg uint32 // InstAlt, InstAltMatch, InstCapture, InstEmptyWidth
prog.go#L160: for i.op() == InstRune && len(i.Rune) == 1 && Flags(i.Arg)&FoldCase == 0 && i.Rune[0] != utf8.RuneError {
prog.go#L177: flag |= EmptyOp(i.Arg)
prog.go#L217: if Flags(i.Arg)&FoldCase != 0 {
prog.go#L267: switch EmptyOp(i.Arg) {
prog.go#L319: bw(b, "alt -> ", u32(i.Out), ", ", u32(i.Arg))
prog.go#L321: bw(b, "altmatch -> ", u32(i.Out), ", ", u32(i.Arg))
prog.go#L323: bw(b, "cap ", u32(i.Arg), " -> ", u32(i.Out))
prog.go#L325: bw(b, "empty ", u32(i.Arg), " -> ", u32(i.Out))
prog.go#L338: if Flags(i.Arg)&FoldCase != 0 {
regexp
backtrack.go#L185: pc = inst.Arg
backtrack.go#L198: b.push(re, inst.Arg, pos, false)
backtrack.go#L199: pc = inst.Arg
backtrack.go#L247: b.cap[inst.Arg] = pos
backtrack.go#L250: if inst.Arg < uint32(len(b.cap)) {
backtrack.go#L252: b.push(re, pc, b.cap[inst.Arg], true) // come back when we're done.
backtrack.go#L253: b.cap[inst.Arg] = pos
backtrack.go#L261: if !flag.match(syntax.EmptyOp(inst.Arg)) {
exec.go#L341: pc = i.Arg
exec.go#L344: if cond.match(syntax.EmptyOp(i.Arg)) {
exec.go#L352: if int(i.Arg) < len(cap) {
exec.go#L353: opos := cap[i.Arg]
exec.go#L354: cap[i.Arg] = pos
exec.go#L356: cap[i.Arg] = opos
exec.go#L432: if pos == 0 && flag.match(syntax.EmptyOp(inst.Arg)) &&
exec.go#L480: if !flag.match(syntax.EmptyOp(inst.Arg)) {
exec.go#L485: if int(inst.Arg) < len(m.matchcap) {
exec.go#L486: m.matchcap[inst.Arg] = pos
onepass.go#L43: if i.Op != syntax.InstEmptyWidth || (syntax.EmptyOp(i.Arg))&syntax.EmptyBeginText == 0 {
onepass.go#L59: for iop(i) == syntax.InstRune && len(i.Rune) == 1 && syntax.Flags(i.Arg)&syntax.FoldCase == 0 && i.Rune[0] != utf8.RuneError {
onepass.go#L64: syntax.EmptyOp(i.Arg)&syntax.EmptyEndText != 0 &&
onepass.go#L244: p_A_Alt := &p.Inst[pc].Arg
onepass.go#L263: p_B_Other := &p.Inst[*p_A_Alt].Arg
onepass.go#L267: } else if instAlt.Arg == uint32(pc) {
onepass.go#L324: ok = check(inst.Out, m) && check(inst.Arg, m)
onepass.go#L327: matchArg := m[inst.Arg]
onepass.go#L334: inst.Out, inst.Arg = inst.Arg, inst.Out
onepass.go#L344: &onePassRunes[inst.Out], &onePassRunes[inst.Arg], inst.Out, inst.Arg)
onepass.go#L380: if len(inst.Rune) == 1 && syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {
onepass.go#L404: if syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {
onepass.go#L472: syntax.EmptyOp(prog.Inst[prog.Start].Arg)&syntax.EmptyBeginText != syntax.EmptyBeginText {
onepass.go#L484: if opOut == syntax.InstMatch || prog.Inst[inst.Arg].Op == syntax.InstMatch {
onepass.go#L489: if syntax.EmptyOp(inst.Arg)&syntax.EmptyEndText == syntax.EmptyEndText {
|
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. |