Skip to content

Commit

Permalink
enter_expr method implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
ThakeeNathees committed Sep 12, 2024
1 parent df2bacf commit cb82ff2
Show file tree
Hide file tree
Showing 5 changed files with 211 additions and 163 deletions.
7 changes: 0 additions & 7 deletions jac/jaclang/compiler/absyntree.py
Original file line number Diff line number Diff line change
Expand Up @@ -2558,7 +2558,6 @@ def __init__(
"""Initialize global statement node."""
self.target = target
AstNode.__init__(self, kid=kid)
Expr.__init__(self)

def normalize(self, deep: bool = False) -> bool:
"""Normalize global statement node."""
Expand Down Expand Up @@ -2612,7 +2611,6 @@ def __init__(
self.aug_op = aug_op
self.is_enum_stmt = is_enum_stmt
AstNode.__init__(self, kid=kid)
Expr.__init__(self)
AstSemStrNode.__init__(self, semstr=semstr)
AstTypedVarNode.__init__(self, type_tag=type_tag)

Expand Down Expand Up @@ -3047,7 +3045,6 @@ def __init__(
self.key = key
self.value = value
AstNode.__init__(self, kid=kid)
Expr.__init__(self)

def normalize(self, deep: bool = False) -> bool:
"""Normalize ast node."""
Expand Down Expand Up @@ -3079,7 +3076,6 @@ def __init__(
self.key = key
self.value = value
AstNode.__init__(self, kid=kid)
Expr.__init__(self)

def normalize(self, deep: bool = False) -> bool:
"""Normalize ast node."""
Expand Down Expand Up @@ -3112,7 +3108,6 @@ def __init__(
self.collection = collection
self.conditional = conditional
AstNode.__init__(self, kid=kid)
Expr.__init__(self)
AstAsyncNode.__init__(self, is_async=is_async)

def normalize(self, deep: bool = False) -> bool:
Expand Down Expand Up @@ -3556,7 +3551,6 @@ def __init__(
"""Initialize disconnect op reference expression node."""
self.edge_spec = edge_spec
AstNode.__init__(self, kid=kid)
Expr.__init__(self)
WalkerStmtOnlyNode.__init__(self)

def normalize(self, deep: bool = False) -> bool:
Expand Down Expand Up @@ -3584,7 +3578,6 @@ def __init__(
self.conn_assign = conn_assign
self.edge_dir = edge_dir
AstNode.__init__(self, kid=kid)
Expr.__init__(self)

def normalize(self, deep: bool = False) -> bool:
"""Normalize ast node."""
Expand Down
Loading

0 comments on commit cb82ff2

Please sign in to comment.