|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.k2js.translate.context.StaticContext
public final class StaticContext
Aggregates all the static parts of the context.
| Method Summary | |
|---|---|
com.google.dart.compiler.backend.js.ast.JsName |
declarePropertyOrPropertyAccessorName(DeclarationDescriptor descriptor,
java.lang.String name,
boolean fresh)
|
static StaticContext |
generateStaticContext(BindingContext bindingContext,
EcmaVersion ecmaVersion)
|
BindingContext |
getBindingContext()
|
com.google.dart.compiler.backend.js.ast.JsFunction |
getFunctionWithScope(CallableDescriptor descriptor)
|
Intrinsics |
getIntrinsics()
|
LiteralFunctionTranslator |
getLiteralFunctionTranslator()
|
com.google.dart.compiler.backend.js.ast.JsName |
getNameForDescriptor(DeclarationDescriptor descriptor)
|
Namer |
getNamer()
|
com.google.dart.compiler.backend.js.ast.JsProgram |
getProgram()
|
com.google.dart.compiler.backend.js.ast.JsNameRef |
getQualifiedReference(DeclarationDescriptor descriptor)
|
com.google.dart.compiler.backend.js.ast.JsNameRef |
getQualifierForDescriptor(DeclarationDescriptor descriptor)
|
com.google.dart.compiler.backend.js.ast.JsScope |
getRootScope()
|
com.google.dart.compiler.backend.js.ast.JsScope |
getScopeForDescriptor(DeclarationDescriptor descriptor)
|
void |
initTranslators(TranslationContext programContext)
|
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
BindingContext bindingContext,
@NotNull
EcmaVersion ecmaVersion)
public void initTranslators(TranslationContext programContext)
@NotNull public LiteralFunctionTranslator getLiteralFunctionTranslator()
public boolean isEcma5()
@NotNull public com.google.dart.compiler.backend.js.ast.JsProgram getProgram()
@NotNull public BindingContext getBindingContext()
@NotNull public Intrinsics getIntrinsics()
@NotNull public Namer getNamer()
@NotNull public com.google.dart.compiler.backend.js.ast.JsScope getRootScope()
@NotNull
public com.google.dart.compiler.backend.js.ast.JsScope getScopeForDescriptor(@NotNull
DeclarationDescriptor descriptor)
@NotNull
public com.google.dart.compiler.backend.js.ast.JsFunction getFunctionWithScope(@NotNull
CallableDescriptor descriptor)
@NotNull
public com.google.dart.compiler.backend.js.ast.JsNameRef getQualifiedReference(@NotNull
DeclarationDescriptor descriptor)
@NotNull
public com.google.dart.compiler.backend.js.ast.JsName getNameForDescriptor(@NotNull
DeclarationDescriptor descriptor)
@NotNull
public com.google.dart.compiler.backend.js.ast.JsName declarePropertyOrPropertyAccessorName(@NotNull
DeclarationDescriptor descriptor,
@NotNull
java.lang.String name,
boolean fresh)
@Nullable
public com.google.dart.compiler.backend.js.ast.JsNameRef getQualifierForDescriptor(@NotNull
DeclarationDescriptor descriptor)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||