Skip to content
Snippets Groups Projects

WIP: Astnodes for interpolation

1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
@@ -124,6 +124,12 @@ class CustomCodeNode(Node):
def undefined_symbols(self):
return self._symbols_read - self._symbols_defined
def __eq___(self, other):
return self._code == other._code
def __hash__(self):
return hash(self._code)
class PrintNode(CustomCodeNode):
# noinspection SpellCheckingInspection
Loading