Skip to content

Commit

Permalink
Removed field for name in Function core class.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Jun 24, 2024
1 parent e35d7fe commit 2b1f0de
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/xyz/uartix/core/Function.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@

public class Function {
private final Token address;
private final String name;
private final List<String> parameters;
private final Statement body;

public Function(
Token address,
String name,
List<String> parameters,
Statement body
) {
this.address = address;
this.name = name;
this.parameters = parameters;
this.body = body;
}
Expand Down

0 comments on commit 2b1f0de

Please sign in to comment.