polyglot.ext.coffer.types
Class CofferContext_c

java.lang.Object
  extended by polyglot.ext.jl.types.Context_c
      extended by polyglot.ext.coffer.types.CofferContext_c
All Implemented Interfaces:
java.lang.Cloneable, CofferContext, Context, Resolver, Copy

public class CofferContext_c
extends Context_c
implements CofferContext


Nested Class Summary
 
Nested classes/interfaces inherited from class polyglot.ext.jl.types.Context_c
Context_c.Kind
 
Field Summary
protected  java.util.Map keys
           
 
Fields inherited from class polyglot.ext.jl.types.Context_c
BLOCK, CLASS, code, CODE, inCode, it, kind, outer, OUTER, scope, SOURCE, staticContext, ts, type, types, vars
 
Constructor Summary
CofferContext_c(TypeSystem ts)
           
 
Method Summary
 void addKey(Key key)
           
 Key findKey(java.lang.String name)
           
protected  java.lang.String mapsToString()
           
protected  Context_c push()
           
 
Methods inherited from class polyglot.ext.jl.types.Context_c
addMethod, addNamed, addNamedToThisScope, addVariable, addVariableToThisScope, copy, currentClass, currentClassScope, currentCode, find, findField, findFieldScope, findInThisScope, findLocal, findMethod, findMethodContainerInThisScope, findMethodScope, findVariable, findVariableInThisScope, findVariableSilent, importTable, inCode, inStaticContext, isBlock, isClass, isCode, isLocal, isOuter, isSource, outerResolver, package_, pop, pushBlock, pushClass, pushCode, pushSource, pushStatic, toString, typeSystem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface polyglot.types.Context
addMethod, addNamed, addVariable, currentClass, currentClassScope, currentCode, findField, findFieldScope, findLocal, findMethod, findMethodScope, findVariable, findVariableSilent, importTable, inCode, inStaticContext, isLocal, outerResolver, package_, pop, pushBlock, pushClass, pushCode, pushSource, pushStatic, typeSystem
 
Methods inherited from interface polyglot.types.Resolver
find
 
Methods inherited from interface polyglot.util.Copy
copy
 

Field Detail

keys

protected java.util.Map keys
Constructor Detail

CofferContext_c

public CofferContext_c(TypeSystem ts)
Method Detail

push

protected Context_c push()
Overrides:
push in class Context_c

addKey

public void addKey(Key key)
Specified by:
addKey in interface CofferContext

findKey

public Key findKey(java.lang.String name)
            throws SemanticException
Specified by:
findKey in interface CofferContext
Throws:
SemanticException

mapsToString

protected java.lang.String mapsToString()
Overrides:
mapsToString in class Context_c