Lines Matching refs:ast
29 import ast
399 a = ast.parse(src, url)
401 if isinstance(a, ast.Module):
403 if isinstance(node, ast.FunctionDef):
405 elif isinstance(node, ast.Assign):
408 if isinstance(subnode, ast.Name) and \
414 if isinstance(value_node, ast.List) or \
415 isinstance(value_node, ast.Tuple):
417 if isinstance(elt, ast.Str):
419 elif isinstance(elt, ast.Name):
421 elif isinstance(value_node, ast.Str):
423 elif isinstance(value_node, ast.Name):