org.jetbrains.jet.codegen.context
Class ScriptContext

java.lang.Object
  extended by org.jetbrains.jet.codegen.context.CodegenContext<T>
      extended by org.jetbrains.jet.codegen.context.FieldOwnerContext<ClassDescriptor>
          extended by org.jetbrains.jet.codegen.context.ScriptContext

public class ScriptContext
extends FieldOwnerContext<ClassDescriptor>


Field Summary
 
Fields inherited from class org.jetbrains.jet.codegen.context.CodegenContext
closure, outerExpression, STATIC
 
Constructor Summary
ScriptContext(ScriptDescriptor scriptDescriptor, ClassDescriptor contextDescriptor, OwnerKind contextKind, CodegenContext parentContext, MutableClosure closure)
           
 
Method Summary
 ScriptDescriptor getScriptDescriptor()
           
 boolean isStatic()
           
 
Methods inherited from class org.jetbrains.jet.codegen.context.FieldOwnerContext
getFieldName, getFieldName
 
Methods inherited from class org.jetbrains.jet.codegen.context.CodegenContext
accessibleFunctionDescriptor, accessiblePropertyDescriptor, findChildContext, findParentContextWithDescriptor, getAccessor, getAccessors, getCallableDescriptorWithReceiver, getClassOrNamespaceDescriptor, getContextDescriptor, getContextKind, getEnclosingClass, getOuterExpression, getParentContext, getReceiverExpression, getThisDescriptor, hasThisDescriptor, initOuterExpression, intoAnonymousClass, intoClass, intoClosure, intoConstructor, intoFunction, intoNamespace, intoNamespaceFacade, intoScript, lookupInContext, prepareFrame, recordSyntheticAccessorIfNeeded, recordSyntheticAccessorIfNeeded, shouldAddChild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptContext

public ScriptContext(@NotNull
                     ScriptDescriptor scriptDescriptor,
                     @NotNull
                     ClassDescriptor contextDescriptor,
                     @NotNull
                     OwnerKind contextKind,
                     @Nullable
                     CodegenContext parentContext,
                     @Nullable
                     MutableClosure closure)
Method Detail

getScriptDescriptor

@NotNull
public ScriptDescriptor getScriptDescriptor()

isStatic

public boolean isStatic()
Specified by:
isStatic in class CodegenContext<ClassDescriptor>