package eu.stratosphere.sopremo.expressions;
/**
* Enumeration of all scopes that can be used
*/
public enum Scope {
ANY,
OBJECT(ANY), ARRAY(ANY), PRIMITIVE(ANY),
STRING(PRIMITIVE), NUMBER(PRIMITIVE);
private final Scope parent;
private Scope() {
this(null);
}
private Scope(final Scope parent) {
this.parent = parent;
}
public Scope getParent() {
return this.parent;
}
}