Lines Matching refs:Arg
701 class Arg(object):
717 lambda match: Arg(match.group(1), match.group(2), int(match.group(3))))
721 lambda match: Arg(match.group(1), match.group(2), int(match.group(3))))
725 lambda match: Arg("Number", match.group(1), int(match.group(2))))
729 lambda match: Arg("Smi", match.group(1), int(match.group(2))))
733 lambda match: Arg("Number", match.group(1), int(match.group(2))))
738 lambda match: Arg(match.group(2), match.group(1), int(match.group(3))))
742 lambda match: Arg("StrictMode", match.group(1), int(match.group(2))))
746 lambda match: Arg("Boolean", match.group(1), int(match.group(2))))
750 lambda match: Arg("PropertyDetails", match.group(1), int(match.group(2))))
764 arg = parser.ArgCtor(match)
765 self.args[arg.index] = arg
811 for arg in self.args:
812 pattern = re.compile(r"(##|\b)%s(##|\b)" % arg)
814 self.lines[i] = re.sub(pattern, "%%(%s)s" % arg, self.lines[i])
942 self.args[i] = Arg("Object", a, i)
1035 name = "arg%d" % i
1038 arg = function.args[i]
1039 name = arg.name
1040 definitions += generator.RandomVariable(name, arg.type, simple=True)
1117 arg = function.args[i]
1118 argname = "arg%d%s" % (i, arg.name)
1120 definitions += gen.RandomVariable(argname, arg.type, simple=False)