src.org.python.compiler.ScopeConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython Show documentation
Show all versions of jython Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
package org.python.compiler;
public interface ScopeConstants {
public final static int BOUND = 1;
public final static int NGLOBAL = 2; // func scope expl global
public final static int PARAM = 4;
public final static int FROM_PARAM = 8;
public final static int CELL = 16;
public final static int FREE = 32;
public final static int CLASS_GLOBAL = 64; // class scope expl global
public final static int GLOBAL = NGLOBAL|CLASS_GLOBAL; // all global
public final static int TOPSCOPE = 0;
public final static int FUNCSCOPE = 1;
public final static int CLASSSCOPE = 2;
}