Lines Matching refs:r
75 func (r *rule) cmdpos() srcpos {
76 return srcpos{filename: r.filename, lineno: r.cmdLineno}
113 func (r *rule) parseInputs(s []byte) {
117 r.inputs = append(r.inputs, t)
123 r.orderOnlyInputs = append(r.orderOnlyInputs, t)
143 func (r *rule) parseVar(s []byte, rhs expr) (*assignAST, error) {
169 assign.srcpos = r.srcpos
179 func (r *rule) parse(line []byte, assign *assignAST, rhs expr) (*assignAST, error) {
185 r.outputs = []string{}
204 r.outputPatterns = []pattern{pat}
208 r.outputs = append(r.outputs, internBytes(unescapeTarget(ws.Bytes())))
214 r.isDoubleColon = true
226 assign, err := r.parseVar(rest, rhs)
234 r.cmds = append(r.cmds, string(rest[index+1:]))
239 r.parseInputs(rest)
260 r.outputPatterns = []pattern{outpat}
264 r.parseInputs(third)