From 8df4d45aba5cb70ff74fc1de56ac151650a8e175 Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Wed, 12 Aug 2020 21:23:49 +0200 Subject: [PATCH] Define public members --- relational/parser.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/relational/parser.py b/relational/parser.py index dd8ef63..af508bd 100644 --- a/relational/parser.py +++ b/relational/parser.py @@ -29,6 +29,32 @@ from dataclasses import dataclass from relational import rtypes + +__all__ = [ + 'PRODUCT', + 'DIFFERENCE', + 'UNION', + 'INTERSECTION', + 'DIVISION', + 'JOIN', + 'JOIN_LEFT', + 'JOIN_RIGHT', + 'JOIN_FULL', + 'PROJECTION', + 'SELECTION', + 'RENAME', + 'ARROW', + 'TokenizerException', + 'ParserException', + 'CallableString', + 'Node', + 'Unary', + 'Binary', + 'Variable', + 'tree', + 'parse', +] + PRODUCT = '*' DIFFERENCE = '-' UNION = '∪'