Lines Matching defs:compiler
65 type compiler struct { struct
66 p *Prog
80 func (c *compiler) init() {
89 func (c *compiler) compile(re *Regexp) frag {
161 func (c *compiler) inst(op InstOp) frag {
168 func (c *compiler) nop() frag {
174 func (c *compiler) fail() frag {
178 func (c *compiler) cap(arg uint32) frag {
189 func (c *compiler) cat(f1, f2 frag) frag {
201 func (c *compiler) alt(f1, f2 frag) frag {
219 func (c *compiler) quest(f1 frag, nongreedy bool) frag {
238 func (c *compiler) loop(f1 frag, nongreedy bool) frag {
252 func (c *compiler) star(f1 frag, nongreedy bool) frag {
261 func (c *compiler) plus(f1 frag, nongreedy bool) frag {
265 func (c *compiler) empty(op EmptyOp) frag {
272 func (c *compiler) rune(r []rune, flags Flags) frag {