polyglot.ext.j0.types
Class J0Context_c

java.lang.Object
  extended bypolyglot.ext.jl.types.Context_c
      extended bypolyglot.ext.j0.types.J0Context_c
All Implemented Interfaces:
java.lang.Cloneable, Context, Copy, J0Context, Resolver

public class J0Context_c
extends Context_c
implements J0Context


Nested Class Summary
 
Nested classes inherited from class polyglot.ext.jl.types.Context_c
Context_c.Kind
 
Field Summary
protected  J0TypeSystem jts
           
 
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
J0Context_c(TypeSystem ts)
           
 
Method Summary
 MethodInstance findMethod(java.lang.String name, java.util.List argTypes)
          Looks up a method in the current scope.
 
Methods inherited from class polyglot.ext.jl.types.Context_c
addMethod, addNamed, addNamedToThisScope, addVariable, addVariableToThisScope, copy, currentClass, currentClassScope, currentCode, find, findField, findFieldScope, findInThisScope, findLocal, findMethodContainerInThisScope, findMethodScope, findVariable, findVariableInThisScope, findVariableSilent, importTable, inCode, inStaticContext, isBlock, isClass, isCode, isLocal, isOuter, isSource, mapsToString, outerResolver, package_, pop, push, 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, 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

jts

protected final J0TypeSystem jts
Constructor Detail

J0Context_c

public J0Context_c(TypeSystem ts)
Method Detail

findMethod

public MethodInstance findMethod(java.lang.String name,
                                 java.util.List argTypes)
                          throws SemanticException
Description copied from interface: Context
Looks up a method in the current scope.

Specified by:
findMethod in interface Context
Overrides:
findMethod in class Context_c
Throws:
SemanticException