mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-28 17:08:03 +00:00
Merge branch 'main' of https://github.com/JonathanFleischmann/CompilerULTIMATE
This commit is contained in:
commit
b022244498
@ -2,5 +2,5 @@ package de.maishai.ast.records;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public record Constructor(Id id, List<Parameter> params, Block block) {
|
||||
public record Constructor(Id id, List<Parameter> params, Block block) implements Node {
|
||||
}
|
||||
|
@ -2,5 +2,5 @@ package de.maishai.ast.records;
|
||||
|
||||
import de.maishai.ast.Type;
|
||||
|
||||
public record Field(Id name, Type type) {
|
||||
public record Field(Id name, Type type) implements Node {
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package de.maishai.ast.records;
|
||||
|
||||
public record FieldId(Boolean field, Expression recipient, Id id) {
|
||||
public record FieldId(Boolean field, Expression recipient, Id id) implements Node {
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package de.maishai.ast.records;
|
||||
|
||||
public sealed interface Node permits Block, Class, Expression, LocalVariable, MainMethod, Method, Parameter, Program, Statement {
|
||||
public sealed interface Node permits Block, Class, Constructor, Expression, Field, FieldId, LocalVariable, MainMethod, Method, Parameter, Program, Statement {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user