|
mjc | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use CClassContextType | |
| org.multijava.mjc | Implements mjc, a MultiJava compiler. |
| Uses of CClassContextType in org.multijava.mjc |
| Subinterfaces of CClassContextType in org.multijava.mjc | |
interface |
CInterfaceContextType
This class represents the context for an interface declaration during checking passes (checkInterface, checkInitializers, typecheck). |
| Classes in org.multijava.mjc that implement CClassContextType | |
class |
CBinaryClassContext
This represents the context of a binary (i.e., read from .class file) class declaration. |
class |
CClassContext
This class represents the context for a class during checking passes (checkInterface, checkInitializers, typecheck). |
class |
CExtendedClassContext
This class represents the context for a class during checking passes (checkInterface, checkInitializers, typecheck). |
class |
CExtMethodContext
This represents the context in which an external method declaration is typechecked. |
class |
CInterfaceContext
This class represents the context for an interface declaration during checking passes (checkInterface, checkInitializers, typecheck). |
| Fields in org.multijava.mjc declared as CClassContextType | |
protected CClassContextType |
CBinaryClass.declContext
This declaration context is used in top method searches. |
protected CClassContextType |
JClassDeclaration.self
|
protected CClassContextType |
TestCContext.clazz
|
| Methods in org.multijava.mjc that return CClassContextType | |
abstract CClassContextType |
CContextType.getClassContext()
Returns the class context for this context. |
abstract CClassContextType |
CContextType.createClassContext(CClass self)
Creates a class context with this context as its parent. |
abstract CClassContextType |
JTypeDeclarationType.createContext(CContextType parent)
Creates a lexical context for typechecking and control flow analysis on this. |
CClassContextType |
CContext.getClassContext()
Returns the class context for this context. |
CClassContextType |
CContext.createClassContext(CClass self)
Creates a class context with this context as its parent. |
CClassContextType |
CClassContext.getClassContext()
getClassContext |
abstract CClassContextType |
CClassContextType.getClassContext()
getClassContext |
abstract CClassContextType |
JTypeDeclaration.createContext(CContextType parent)
Creates a lexical context for typechecking and control flow analysis on this. |
abstract CClassContextType |
CCompilationUnitContextType.getClassContext()
getClass |
CClassContextType |
CCompilationUnitContext.getClassContext()
getClass |
CClassContextType |
JClassDeclaration.createContext(CContextType parent)
Creates a class context for this class declaration. |
abstract CClassContextType |
JClassDeclarationType.createContext(CContextType parent)
Creates a class context for this class declaration. |
CClassContextType |
JInterfaceDeclaration.createContext(CContextType parent)
Creates an interface context for this interface declaration. |
abstract CClassContextType |
JInterfaceDeclarationType.createContext(CContextType parent)
Creates an interface context for this interface declaration. |
| Methods in org.multijava.mjc with parameters of type CClassContextType | |
abstract CMethod |
CContextType.lookupMethod(java.lang.String name,
CType[] params,
CClassContextType context)
Searches for the most specific method in the current context that is applicable to the given identifier and argument type tuple. |
abstract CMethodSet |
CContextType.lookupMethodOrSet(java.lang.String name,
CType[] params,
CClassContextType context)
Searches for the most specific method(s) in the current context that is applicable to the given identifier and argument type tuple. |
CMethodContextType |
JMethodDeclaration.createSelfContext(CClassContextType parent)
Creates a context for this method declaration AST node. |
abstract CMethodContextType |
JMethodDeclarationType.createSelfContext(CClassContextType parent)
Creates a context for this method declaration AST node. |
CMethod |
CContext.lookupMethod(java.lang.String name,
CType[] params,
CClassContextType context)
Searches for the most specific method in the current context that is applicable to the given identifier and argument type tuple. |
CMethodSet |
CContext.lookupMethodOrSet(java.lang.String name,
CType[] params,
CClassContextType context)
Searches for the most specific method(s) in the current context that are applicable to the given identifier and argument type tuple. |
CMethod |
CClassContext.lookupMethod(java.lang.String ident,
CType[] params,
CClassContextType context)
Searches for the most specific method when no receiver is explicit at the call site. |
CMethodSet |
CClassContext.lookupMethodOrSet(java.lang.String ident,
CType[] params,
CClassContextType context)
Searches for the most specific method(s) when no receiver is explicit at the call site. |
abstract CMethod |
CClassContextType.lookupMethod(java.lang.String ident,
CType[] params,
CClassContextType context)
Searches for the most specific method when no receiver is explicit at the call site. |
abstract CMethodSet |
CClassContextType.lookupMethodOrSet(java.lang.String ident,
CType[] params,
CClassContextType context)
Searches for the most specific method(s) when no receiver is explicit at the call site. |
abstract CMethod |
CCompilationUnitContextType.lookupMethod(java.lang.String name,
CType[] params,
CClassContextType context)
Searches for the most specific method applicable to the given identifier and argument type tuple, in the current context. |
abstract CMethodSet |
CCompilationUnitContextType.lookupMethodOrSet(java.lang.String name,
CType[] params,
CClassContextType context)
Searches for the most specific method(s) applicable to the given identifier and argument type tuple, in the current context. |
CBinaryMethod |
ClassCreator.createBinaryMethod(CClass owner,
MethodInfo methodInfo,
CClassContextType declCtx)
Creates a binary method object. |
CMethod |
CCompilationUnitContext.lookupMethod(java.lang.String name,
CType[] params,
CClassContextType context)
Searches for the most specific method applicable to the given identifier and argument type tuple, in the current context. |
CMethodSet |
CCompilationUnitContext.lookupMethodOrSet(java.lang.String name,
CType[] params,
CClassContextType context)
Searches for the most specific method(s) applicable to the given identifier and argument type tuple, in the current context. |
CMethod |
CExtMethodContext.lookupMethod(java.lang.String ident,
CType[] params,
CClassType[] args,
CClassContextType context)
Searches for the most specific method when no receiver is explicit at the call site. |
CMethodSet |
CExtMethodContext.lookupMethodOrSet(java.lang.String ident,
CType[] params,
CClassContextType context)
Searches for the most specific method(s) when no receiver is explicit at the call site. |
abstract CSourceField |
JFieldDeclarationType.checkInterface(CClassContextType context)
Checks the basic interfaces to make sure things generally look OK. |
abstract void |
JConstructorDeclarationType.typecheck(CClassContextType context,
CVariableInfoTable instanceInfo)
Typechecks this method declaration. |
CMethodContextType |
JInitializerDeclaration.createSelfContext(CClassContextType parent)
Creates a context for this initializer AST node. |
protected void |
JInitializerDeclaration.checkAccess(CClassContextType context,
CMethodSet superMethods)
|
void |
JInitializerDeclaration.checkInitializer(CClassContextType context)
Checks the static initializers and informs the context that it has a valid initializer. |
void |
JConstructorDeclaration.typecheck(CClassContextType cContext,
CVariableInfoTable instanceInfo)
Typechecks this method declaration. |
CMethodContextType |
JConstructorDeclaration.createSelfContext(CClassContextType parent)
Creates a context for this constructor AST node. |
CSourceField |
JFieldDeclaration.checkInterface(CClassContextType context)
Checks the basic interfaces to make sure things generally look OK. |
void |
JVariableDefinition.checkInterface(CClassContextType context)
Checks the basic interfaces to make sure things generally look OK. |
|
mjc | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||