Home | History | Annotate | Download | only in syntax

Lines Matching refs:Op

19 	Op       Op // operator
30 // An Op is a single regular expression operator.
31 type Op uint8
38 OpNoMatch Op = 1 + iota // matches no strings
59 const opPseudo Op = 128 // where pseudo-ops start
66 if x.Op != y.Op {
69 switch x.Op {
116 switch re.Op {
118 b.WriteString("<invalid op" + strconv.Itoa(int(re.Op)) + ">")
192 if re.Sub[0].Op != OpEmptyMatch {
197 if sub := re.Sub[0]; sub.Op > OpCapture || sub.Op == OpLiteral && len(sub.Rune) > 1 {
204 switch re.Op {
227 if sub.Op == OpAlternate {
294 if re.Op == OpCapture {
313 if re.Op == OpCapture {