Lines Matching refs:start
30 def parse_method_or_constructor(data: str, start: int = 0) -> Tuple[int, Dict]:
36 end_of_args = parse_declaration_without_postfix(data, start, res)
39 next_semicolon = find_first_of_characters(";", data, start) # <--- for declaration
40 start_of_body = smart_find_first_of_characters("{", data, start) # <--- for definition
61 res["raw_declaration"] = data[start:end_of_function_declaration].strip(" \n")
65 res["raw_declaration"] = data[start:colon_pos].strip(" \n")
83 def parse_declaration_without_postfix(data: str, start: int, res: Dict[str, Any]) -> int:
85 start_of_args = find_first_of_characters("(", data, start)
91 start_of_args > find_first_of_characters(";", data, start)
92 and data[start : data.find("\n", start)].find("operator==") == -1
109 res["return_type"] = parse_type(data[start:start_of_function_name].strip(" \n"))
136 def parse_initializers(data: str, start: int = 0) -> Tuple[int, List]: # pylint: disable=C0116
138 current_pos = find_first_not_restricted_character(" \n", data, start)