Skip to content

Commit

Permalink
[AnyAst] kind in GenericAnyNode is now final, removed setKind
Browse files Browse the repository at this point in the history
  • Loading branch information
joaobispo committed Jul 30, 2024
1 parent 120ff33 commit 139a1fb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions AnyAst/src/pt/up/fe/specs/anycompiler/ast/GenericAnyNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

public class GenericAnyNode extends AnyNode {

private String kind;
private final String kind;

private final Map<String, Object> attributes;
private Collection<String> hierarchy;
Expand Down Expand Up @@ -56,10 +56,11 @@ public String getKind() {
return kind;
}

public void setKind(String kind) {
this.kind = kind;
}

/*
public void setKind(String kind) {
this.kind = kind;
}
*/
@Override
public Object getObject(String attribute) {
// System.out.println("GENERIC: " + attributes);
Expand Down

0 comments on commit 139a1fb

Please sign in to comment.