]> gerrit.simantics Code Review - simantics/platform.git/blob - Symbol.java
e17066eff5b3bdecd2ea82537e3ab6c9f92f1bd3
[simantics/platform.git] / Symbol.java
1 package org.simantics.scl.compiler.internal.parsing;
2
3 import org.simantics.scl.compiler.errors.Locations;
4
5 /**
6  * This class is the base class for all the nodes in an SCL abstract syntax tree.
7  * All nodes share a property {@link #location} that links the node
8  * to a position in the SCL source.
9  */
10 public abstract class Symbol {
11     public long location = Locations.NO_LOCATION;
12     
13     public long getLocation() {
14         return location;
15     }
16 }