From 6d62904745a573f717f7372d69547cbea971941a Mon Sep 17 00:00:00 2001 From: CBeelen Date: Tue, 6 Jun 2023 15:52:46 -0700 Subject: [PATCH] Get rid of unused AsiBinaryExpr --- pyvdrm/drm.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pyvdrm/drm.py b/pyvdrm/drm.py index 143cab4..02a9a99 100644 --- a/pyvdrm/drm.py +++ b/pyvdrm/drm.py @@ -61,22 +61,6 @@ def __call__(self, args): return self.children(args) -class AsiBinaryExpr(AsiExpr): - """Subclass with syntactic sugar for boolean ops""" - - def __init__(self, label, pos, tokens): - super().__init__(label, pos, tokens) - self.children = tokens[0] - - def typecheck(self, tokens): - if len(tokens[0]) != 2: - raise AsiParseError - - def __repr__(self): - arg1, arg2 = self.children - return "{} {} {}".format(arg1, type(self), arg2) - - class AsiMultipleExpr(AsiExpr): """Subclass with syntactic sugar for boolean ops"""