MCPcopy Index your code
hub / github.com/dbcli/pgcli / _find_function_body

Function _find_function_body

pgcli/packages/sqlcompletion.py:167–169  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

165
166
167def _find_function_body(text):
168 split = function_body_pattern.search(text)
169 return (split.start(2), split.end(2)) if split else (None, None)
170
171
172def _statement_from_function(full_text, text_before_cursor, statement):

Callers 1

_statement_from_functionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected