type regexp/syntax.EmptyOp
23 uses
regexp/syntax (current package)
compile.go#L265: func (c *compiler) empty(op EmptyOp) frag {
prog.go#L63: type EmptyOp uint8
prog.go#L66: EmptyBeginLine EmptyOp = 1 << iota
prog.go#L80: func EmptyOpContext(r1, r2 rune) EmptyOp {
prog.go#L81: var op EmptyOp = EmptyNoWordBoundary
prog.go#L167: func (p *Prog) StartCond() EmptyOp {
prog.go#L168: var flag EmptyOp
prog.go#L175: flag |= EmptyOp(i.Arg)
prog.go#L177: return ^EmptyOp(0)
prog.go#L265: switch EmptyOp(i.Arg) {
regexp
backtrack.go#L261: if !flag.match(syntax.EmptyOp(inst.Arg)) {
backtrack.go#L309: if startCond == ^syntax.EmptyOp(0) { // impossible
exec.go#L128: func (f lazyFlag) match(op syntax.EmptyOp) bool {
exec.go#L177: if startCond == ^syntax.EmptyOp(0) { // impossible
exec.go#L344: if cond.match(syntax.EmptyOp(i.Arg)) {
exec.go#L399: if startCond == ^syntax.EmptyOp(0) { // impossible
exec.go#L432: if pos == 0 && flag.match(syntax.EmptyOp(inst.Arg)) &&
exec.go#L480: if !flag.match(syntax.EmptyOp(inst.Arg)) {
onepass.go#L43: if i.Op != syntax.InstEmptyWidth || (syntax.EmptyOp(i.Arg))&syntax.EmptyBeginText == 0 {
onepass.go#L64: syntax.EmptyOp(i.Arg)&syntax.EmptyEndText != 0 &&
onepass.go#L472: syntax.EmptyOp(prog.Inst[prog.Start].Arg)&syntax.EmptyBeginText != syntax.EmptyBeginText {
onepass.go#L489: if syntax.EmptyOp(inst.Arg)&syntax.EmptyEndText == syntax.EmptyEndText {
regexp.go#L98: cond syntax.EmptyOp // empty-width conditions required at start of match
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)