add fields to save the line and column in which the token corresponding to the node was found

This commit is contained in:
2020-02-03 22:20:25 +01:00
parent 33cbae0eeb
commit 12c1f75602

View File

@@ -5,5 +5,8 @@ import de.hsrm.compiler.Klang.visitors.*;
public abstract class Node {
public Type type;
public int line;
public int col;
public abstract <R> R welcome(Visitor<R> v);
}