create DAST nodes for structDefinition and structField

This commit is contained in:
2020-02-04 19:14:40 +01:00
parent 3e8e30e0da
commit 6f8c995f19
3 changed files with 40 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
package de.hsrm.compiler.Klang.nodes;
import de.hsrm.compiler.Klang.visitors.Visitor;
public class StructField extends Node {
public String name;
public StructField(String name) {
this.name = name;
}
@Override
public <R> R welcome(Visitor<R> v) {
return v.visit(this);
}
}