1
0
forked from VimPlug/jedi

renamed all occurences of parsing

This commit is contained in:
David Halter
2013-02-05 16:29:39 +01:00
parent 42450f48dc
commit bc08ea9630
10 changed files with 148 additions and 149 deletions

View File

@@ -3,7 +3,7 @@
import re
import evaluate
import parsing
import parsing_representation as pr
DOCSTRING_PARAM_PATTERNS = [
r'\s*:type\s+%s:\s*([^\n]+)', # Sphinx
@@ -34,7 +34,7 @@ def follow_param(param):
param_str)
user_position = (2, 0)
p = parsing.Parser(param_str, None, user_position,
p = pr.Parser(param_str, None, user_position,
no_docstr=True)
return evaluate.follow_statement(p.user_stmt)
return []
@@ -98,7 +98,7 @@ def find_return_types(func):
if not type_str:
return []
p = parsing.Parser(type_str, None, (1, 0), no_docstr=True)
p = pr.Parser(type_str, None, (1, 0), no_docstr=True)
p.user_stmt.parent = func
return list(evaluate.follow_statement(p.user_stmt))