org.jetbrains.k2js.translate.context
Class StaticContext
java.lang.Object
org.jetbrains.k2js.translate.context.StaticContext
public final class StaticContext
- extends java.lang.Object
Aggregates all the static parts of the context.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generateStaticContext
public static StaticContext generateStaticContext(@NotNull
BindingContext bindingContext,
@NotNull
EcmaVersion ecmaVersion)
getLiteralFunctionTranslator
@NotNull
public LiteralFunctionTranslator getLiteralFunctionTranslator()
isEcma5
public boolean isEcma5()
getEcmaVersion
@NotNull
public EcmaVersion getEcmaVersion()
getProgram
@NotNull
public com.google.dart.compiler.backend.js.ast.JsProgram getProgram()
getBindingContext
@NotNull
public BindingContext getBindingContext()
getIntrinsics
@NotNull
public Intrinsics getIntrinsics()
getNamer
@NotNull
public Namer getNamer()
getRootScope
@NotNull
public com.google.dart.compiler.backend.js.ast.JsScope getRootScope()
getScopeForDescriptor
@NotNull
public com.google.dart.compiler.backend.js.ast.JsScope getScopeForDescriptor(@NotNull
DeclarationDescriptor descriptor)
getFunctionWithScope
@NotNull
public com.google.dart.compiler.backend.js.ast.JsFunction getFunctionWithScope(@NotNull
CallableDescriptor descriptor)
getNameForDescriptor
@NotNull
public com.google.dart.compiler.backend.js.ast.JsName getNameForDescriptor(@NotNull
DeclarationDescriptor descriptor)
getQualifierForDescriptor
@Nullable
public com.google.dart.compiler.backend.js.ast.JsNameRef getQualifierForDescriptor(@NotNull
DeclarationDescriptor descriptor)