add fields to save the line and column in which the token corresponding to the node was found
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user