diff options
author | Emanuele Grasso <96300448+L0P0P@users.noreply.github.com> | 2024-06-24 15:37:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 15:37:12 +0200 |
commit | 54b2c77e6875c1abb3d73fdfd0de924e75633087 (patch) | |
tree | 2be8d3ff7ac912c85c31637babb055efb344ae98 /src/ast/nodes/BlockNode.java | |
parent | 8e7089a5d6ba1f4f50a90133bb50bc5c6c554aff (diff) |
Package refactoring to avoid verbose paths (#4)
Diffstat (limited to 'src/ast/nodes/BlockNode.java')
-rw-r--r-- | src/ast/nodes/BlockNode.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ast/nodes/BlockNode.java b/src/ast/nodes/BlockNode.java index 1fdfcc3..6b07f49 100644 --- a/src/ast/nodes/BlockNode.java +++ b/src/ast/nodes/BlockNode.java @@ -1,16 +1,14 @@ -package com.clp.project.ast.nodes; +package ast.nodes; import java.util.ArrayList; -import com.clp.project.semanticanalysis.SemanticError; -import com.clp.project.semanticanalysis.SymbolTable; -import com.clp.project.ast.types.*; +import ast.types.*; /** * Node for `block` statement of the grammar. * It extends the `RootNode`. */ -public class BlockNode extends RootNode implements Node { +public class BlockNode extends RootNode { public BlockNode(ArrayList<Node> stmts, ArrayList<Node> compoundStmts) { super(stmts, compoundStmts); } |