Uses of Class
at.dms.kjc.CClassContext

Packages that use CClassContext
at.dms.kjc   
 

Uses of CClassContext in at.dms.kjc
 

Subclasses of CClassContext in at.dms.kjc
 class CInterfaceContext
          This class represents an interface context during check.
 

Methods in at.dms.kjc that return CClassContext
 CClassContext CContext.getClassContext()
          Returns the nearest parent of type CClassContext.
 CClassContext CCompilationUnitContext.getClassContext()
          getClass
 CClassContext CCompilationUnitContext.createClassContext(CSourceClass clazz)
           
abstract  CClassContext JTypeDeclaration.createContext(CContext parent)
          createContext.
 CClassContext JClassDeclaration.createContext(CContext parent)
          Creates a CClassContext that takes this class as its class context.
 CClassContext CMethodContext.getClassContext()
          getClassContext
 CClassContext CBodyContext.createClassContext(CSourceClass clazz)
          Creates a class context (for inner/local classes) with this body context as its parent.
 CClassContext JInterfaceDeclaration.createContext(CContext parent)
          createContext.
 CClassContext CEmptyTopLevelContext.getClassContext()
           
 CClassContext CEmptyTopLevelContext.createClassContext(CSourceClass clazz)
           
 CClassContext CClassContext.getClassContext()
          getClassContext
 

Methods in at.dms.kjc with parameters of type CClassContext
 CSourceMethod JMethodDeclaration.checkInterface(CClassContext context)
          Second pass (quick), check interface looks good.
 void JMethodDeclaration.checkStatement(CClassContext context)
          Check expression and evaluate and alter context.
protected  void JMethodDeclaration.checkOverriding(CClassContext context, CMethod superMethod)
           
protected  void JMethodDeclaration.checkAccess(CClassContext context, CMethod superMethod)
          Checks whether access modifiers are valid with resprect to the method that it overrides; an overridden method cannot be more strict than the method that it overries.
protected  void JMethodDeclaration.checkBody(CClassContext context)
          Checks if the method is valid; if it has a body, it cannot occur in an interface, unless it is an initializer.
 CSourceMethod JConstructorDeclaration.checkInterface(CClassContext context)
          Second pass (quick), check interface looks good Exceptions are not allowed here, this pass is just a tuning pass in order to create informations about exported elements such as Classes, Interfaces, Methods, Constructors and Fields
 void JConstructorDeclaration.checkStatement(CClassContext context)
          Check expression and evaluate and alter context
 CMethodContext JConstructorDeclaration.createContext(CClassContext parent)
          createContext
 void JVariableDefinition.checkInterface(CClassContext context)
          Second pass (quick), check interface looks good.
 CMethodContext JInitializerDeclaration.createContext(CClassContext parent)
          createContext.
 CSourceMethod JInitializerDeclaration.checkInterface(CClassContext context)
          Second pass (quick), check interface looks good Exceptions are not allowed here, this pass is just a tuning pass in order to create informations about exported elements such as Classes, Interfaces, Methods, Constructors and Fields
 void JInitializerDeclaration.checkStatement(CClassContext context)
          Check expression and evaluate and alter context.
protected  void JInitializerDeclaration.checkAccess(CClassContext context, JMethodDeclaration superMethod)
           
protected  void JInitializerDeclaration.checkBody(CClassContext context)
           
protected  void JInitializerDeclaration.checkOverriding(CClassContext context, CMethod superMethod)
           
 void JInitializerDeclaration.checkInitializer(CClassContext context)
          Check expression and evaluate and alter context
 CSourceField JFieldDeclaration.checkInterface(CClassContext context)
          Second pass (quick), check interface looks good Exceptions are not allowed here, this pass is just a tuning pass in order to create informations about exported elements such as Classes, Interfaces, Methods, Constructors and Fields sub classes must check modifiers and call checkInterface(super)
 

Constructors in at.dms.kjc with parameters of type CClassContext
CMethodContext(CClassContext parent, CMethod self)
          CMethodContext.
CInitializerContext(CClassContext parent, CMethod self)
          CInitializerContext.
CConstructorContext(CClassContext parent, CMethod self)
          Makes a new CConstructorContext object.