Skip to content

Commit

Permalink
Get rid of unused AsiBinaryExpr
Browse files Browse the repository at this point in the history
  • Loading branch information
CBeelen committed Jun 6, 2023
1 parent 5e0d7f3 commit 6d62904
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pyvdrm/drm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""

Expand Down

0 comments on commit 6d62904

Please sign in to comment.