|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.js.translate.context.StaticContext
public final class StaticContext
Aggregates all the static parts of the context.
| Method Summary | |
|---|---|
JsName |
declarePropertyOrPropertyAccessorName(DeclarationDescriptor descriptor,
java.lang.String name,
boolean fresh)
|
static StaticContext |
generateStaticContext(BindingTrace bindingTrace,
Config config,
ModuleDescriptor moduleDescriptor)
|
BindingContext |
getBindingContext()
|
BindingTrace |
getBindingTrace()
|
Config |
getConfig()
|
JsFunction |
getFunctionWithScope(CallableDescriptor descriptor)
|
Intrinsics |
getIntrinsics()
|
JsName |
getNameForDescriptor(DeclarationDescriptor descriptor)
|
JsName |
getNameForPackage(FqName packageFqName)
|
Namer |
getNamer()
|
JsProgram |
getProgram()
|
JsNameRef |
getQualifiedReference(DeclarationDescriptor descriptor)
|
JsNameRef |
getQualifiedReference(FqName packageFqName)
|
JsExpression |
getQualifierForDescriptor(DeclarationDescriptor descriptor)
|
ReflectionTypes |
getReflectionTypes()
|
JsScope |
getRootScope()
|
JsScope |
getScopeForDescriptor(DeclarationDescriptor descriptor)
|
boolean |
isEcma5()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StaticContext generateStaticContext(@NotNull
BindingTrace bindingTrace,
@NotNull
Config config,
@NotNull
ModuleDescriptor moduleDescriptor)
public boolean isEcma5()
@NotNull public JsProgram getProgram()
@NotNull public BindingTrace getBindingTrace()
@NotNull public BindingContext getBindingContext()
@NotNull public Intrinsics getIntrinsics()
@NotNull public Namer getNamer()
@NotNull public ReflectionTypes getReflectionTypes()
@NotNull public JsScope getRootScope()
@NotNull
public JsScope getScopeForDescriptor(@NotNull
DeclarationDescriptor descriptor)
@NotNull
public JsFunction getFunctionWithScope(@NotNull
CallableDescriptor descriptor)
@NotNull
public JsNameRef getQualifiedReference(@NotNull
DeclarationDescriptor descriptor)
@NotNull
public JsNameRef getQualifiedReference(@NotNull
FqName packageFqName)
@NotNull
public JsName getNameForDescriptor(@NotNull
DeclarationDescriptor descriptor)
@NotNull
public JsName getNameForPackage(@NotNull
FqName packageFqName)
@NotNull public Config getConfig()
@NotNull
public JsName declarePropertyOrPropertyAccessorName(@NotNull
DeclarationDescriptor descriptor,
@NotNull
java.lang.String name,
boolean fresh)
@Nullable
public JsExpression getQualifierForDescriptor(@NotNull
DeclarationDescriptor descriptor)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||