Lines Matching refs:Op
80 var op EmptyOp = EmptyNoWordBoundary
86 op |= EmptyBeginLine
88 op |= EmptyBeginText | EmptyBeginLine
94 op |= EmptyEndLine
96 op |= EmptyEndText | EmptyEndLine
99 op ^= (EmptyWordBoundary | EmptyNoWordBoundary)
101 return op
113 Op InstOp
125 // skipNop follows any no-op or capturing instructions
129 for i.Op == InstNop || i.Op == InstCapture {
136 // op returns i.Op but merges all the Rune special cases into InstRune
137 func (i *Inst) op() InstOp {
138 op := i.Op
139 switch op {
141 op = InstRune
143 return op
153 if i.op() != InstRune || len(i.Rune) != 1 {
154 return "", i.Op == InstMatch
159 for i.op() == InstRune && len(i.Rune) == 1 && Flags(i.Arg)&FoldCase == 0 {
163 return buf.String(), i.Op == InstMatch
174 switch i.Op {
193 // It should only be called when i.Op == InstRune.
202 // MatchRunePos should only be called when i.Op == InstRune.
261 // It should only be called when i.Op == InstEmptyWidth.
313 switch i.Op {