Lines Matching refs:rest
38 inner, rest = readDescriptor(s[1:])
39 return "[" + inner, rest
77 class_name, rest = readDescriptor(desc)
78 assert rest[0:2] == "->", desc
79 rest = rest[2:]
80 args_start = rest.index("(")
81 func_name = rest[:args_start]
82 rest = rest[args_start + 1:]
84 while rest[0] != ")":
85 cur_arg, rest = readDescriptor(rest)
87 rest = rest[1:]
88 return_type, rest = readDescriptor(rest)
89 assert rest.strip() == "", desc