my initial short for typechecking, still very unifinished tho
This commit is contained in:
17
src/main/java/de/hsrm/compiler/Klang/nodes/Parameter.java
Normal file
17
src/main/java/de/hsrm/compiler/Klang/nodes/Parameter.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package de.hsrm.compiler.Klang.nodes;
|
||||
|
||||
import de.hsrm.compiler.Klang.visitors.Visitor;
|
||||
|
||||
public class Parameter extends Node {
|
||||
|
||||
public String name;
|
||||
|
||||
public Parameter(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <R> R welcome(Visitor<R> v) {
|
||||
return v.visit(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user