diff options
Diffstat (limited to 'compilador/astree')
-rw-r--r-- | compilador/astree/expr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilador/astree/expr.py b/compilador/astree/expr.py index b696d51..f4d150c 100644 --- a/compilador/astree/expr.py +++ b/compilador/astree/expr.py @@ -197,7 +197,7 @@ class PrintExpr(Graphable): # # leer a @dataclass -class ReadExpr: +class ReadExpr(Graphable): expr: AccessExpr def graph(self, dot: gv.Digraph, parent: str = None, edge: str = None) -> None: @@ -210,7 +210,7 @@ class ReadExpr: # # retorna a @dataclass -class ReturnExpr: +class ReturnExpr(Graphable): expr: Optional[Expr] def graph(self, dot: gv.Digraph, parent: str = None, edge: str = None) -> None: |