You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d3ae37f
Browse filesBrowse the repository at this point in the historyBrowse files
TwoLaid
authored and
TwoLaid
committed
Merge pull request timogasda#4 from KenMacD/tokenize
{"check_syntax", (PyCFunction)Parser_check_syntax, METH_VARARGS, "check_syntax(query)\nChecks syntax of the given *query*. Returns 0 if the query is valid.\n\n:type query: str\n:returns: int -- 0 for success" },
34
-
{"get_statement", (PyCFunction)Parser_get_statement, METH_VARARGS, "get_statement(n)\nAfter parsing a query string with :meth:`Parser.check_syntax` this function will return the *n*-th :class:`Statement` in that string.\n\n:type n: int\n:returns: Statement"},
35
-
{"get_statement_count", (PyCFunction)Parser_get_statement_count, METH_VARARGS, "get_statement_count()\nReturns the number of statements for the Parser object\n:returns: int" },
36
-
36
+
{"tokenize", (PyCFunction)Parser_tokenize, METH_VARARGS, "tokenize(query)\nTokenizes the given *query*. Returns a list of (tokenCode, tokenValue) "},
37
+
{"get_statement", (PyCFunction)Parser_get_statement, METH_VARARGS, "get_statement(n)\nAfter parsing a query string with :meth:`Parser.check_syntax` this function will return the *n*-th :class:`Statement` in that string.\n\n:type n: int\n:returns: Statement" },
38
+
{"get_statement_count", (PyCFunction)Parser_get_statement_count, METH_VARARGS, "get_statement_count()\nReturns the number of statements for the Parser object\n:returns: int" },
0 commit comments