]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/Symbol.java
(refs #7250) Merging master, minor CHR bugfixes
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / parsing / 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 }