diff options
Diffstat (limited to 'sqlparse/tokens.py')
-rw-r--r-- | sqlparse/tokens.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sqlparse/tokens.py b/sqlparse/tokens.py index aa0b335..4d5f30e 100644 --- a/sqlparse/tokens.py +++ b/sqlparse/tokens.py @@ -13,15 +13,6 @@ class _TokenType(tuple): parent = None - def split(self): - buf = [] - node = self - while node is not None: - buf.append(node) - node = node.parent - buf.reverse() - return buf - def __contains__(self, val): return val is not None and (self is val or val[:len(self)] == self) @@ -74,8 +65,3 @@ DML = Keyword.DML DDL = Keyword.DDL CTE = Keyword.CTE Command = Keyword.Command - -Group = Token.Group -Group.Parenthesis = Token.Group.Parenthesis -Group.Comment = Token.Group.Comment -Group.Where = Token.Group.Where |