Top Fields Constructors Methods
org.python.compiler

pack-priv Class PyCodeConstant

Located in compilation unit of org.python.compiler.Module.

extends Constant
implements ClassConstants, Opcodes
Class Inheritance
All Implemented Interfaces
org.objectweb.asm.Opcodes, org.python.compiler.ClassConstants

Field Summary

Modifier and TypeField and Description
pack-priv final int
pack-priv final boolean
pack-priv final List<String>
pack-priv final int
pack-priv final String
pack-priv final String
pack-priv final List<String>
pack-priv final int
pack-priv final int
pack-priv final boolean
pack-priv final int
pack-priv final List<String>
Inherited from org.python.compiler.Constant:
accessmodulename

Constructor Summary

AccessConstructor and Description
pack-priv
PyCodeConstant(mod tree, String name, boolean fast_locals, String className, boolean classBody, boolean printResults, int firstlineno, ScopeInfo scope, CompilerFlags cflags, Module module)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
get(Code c)

Implements abstract org.python.compiler.Constant.get.

public static boolean
pack-priv void
put(Code c)

Implements abstract org.python.compiler.Constant.put.

private List<String>
toNameAr(List<String> names, boolean nullok)

Field Detail

argcountback to summary
pack-priv final int argcount
arglistback to summary
pack-priv final boolean arglist
cellvarsback to summary
pack-priv final List<String> cellvars
co_firstlinenoback to summary
pack-priv final int co_firstlineno
co_nameback to summary
pack-priv final String co_name
fnameback to summary
pack-priv final String fname
freevarsback to summary
pack-priv final List<String> freevars
idback to summary
pack-priv final int id
jy_npurecellback to summary
pack-priv final int jy_npurecell
keywordlistback to summary
pack-priv final boolean keywordlist
moreflagsback to summary
pack-priv final int moreflags
namesback to summary
pack-priv final List<String> names

Constructor Detail

PyCodeConstantback to summary
pack-priv PyCodeConstant(mod tree, String name, boolean fast_locals, String className, boolean classBody, boolean printResults, int firstlineno, ScopeInfo scope, CompilerFlags cflags, Module module) throws Exception

Method Detail

getback to summary
pack-priv void get(Code c) throws IOException

Implements abstract org.python.compiler.Constant.get.

Annotations
@Override
isJavaIdentifierback to summary
public static boolean isJavaIdentifier(String s)
putback to summary
pack-priv void put(Code c) throws IOException

Implements abstract org.python.compiler.Constant.put.

Annotations
@Override
toNameArback to summary
private List<String> toNameAr(List<String> names, boolean nullok)