Lines Matching refs:ast
29 import ast
393 a = ast.parse(src, url)
395 if isinstance(a, ast.Module):
397 if isinstance(node, ast.FunctionDef):
399 elif isinstance(node, ast.Assign):
402 if isinstance(subnode, ast.Name) and \
408 if isinstance(value_node, ast.List) or \
409 isinstance(value_node, ast.Tuple):
411 if isinstance(elt, ast.Str):
413 elif isinstance(elt, ast.Name):
415 elif isinstance(value_node, ast.Str):
417 elif isinstance(value_node, ast.Name):