Implemented FunctionParser

This commit is contained in:
2020-09-17 14:11:09 +02:00
parent 8a866880bc
commit 177a6b1d5f
40 changed files with 1752 additions and 561 deletions
+5 -2
View File
@@ -173,8 +173,11 @@ class SheerkaPromptCompleter(Completer):
break
m = NAME.match(text[:i][::-1])
func_name = m.group(0)[::-1]
return FuncFound(func_name, i - len(func_name), paren_index) if m else None
if m:
func_name = m.group(0)[::-1]
return FuncFound(func_name, i - len(func_name), paren_index)
return None
@staticmethod
def after_pipe(text, pos):