01: package org.python.compiler;
02:
03: public interface ScopeConstants {
04:
05: public final static int BOUND = 1;
06: public final static int NGLOBAL = 2; // func scope expl global
07: public final static int PARAM = 4;
08: public final static int FROM_PARAM = 8;
09: public final static int CELL = 16;
10: public final static int FREE = 32;
11: public final static int CLASS_GLOBAL = 64; // class scope expl global
12: public final static int GLOBAL = NGLOBAL | CLASS_GLOBAL; // all global
13:
14: public final static int TOPSCOPE = 0;
15: public final static int FUNCSCOPE = 1;
16: public final static int CLASSSCOPE = 2;
17:
18: }
|