public final class StaticContext extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static StaticContext |
generateStaticContext(BindingContext bindingContext,
EcmaVersion ecmaVersion) |
BindingContext |
getBindingContext() |
EcmaVersion |
getEcmaVersion() |
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 |
getQualifierForDescriptor(DeclarationDescriptor descriptor) |
com.google.dart.compiler.backend.js.ast.JsScope |
getRootScope() |
com.google.dart.compiler.backend.js.ast.JsScope |
getScopeForDescriptor(DeclarationDescriptor descriptor) |
boolean |
isEcma5() |
public static StaticContext generateStaticContext(@NotNull BindingContext bindingContext, @NotNull EcmaVersion ecmaVersion)
@NotNull public LiteralFunctionTranslator getLiteralFunctionTranslator()
public boolean isEcma5()
@NotNull public EcmaVersion getEcmaVersion()
@NotNull public com.google.dart.compiler.backend.js.ast.JsProgram getProgram()
@NotNull public BindingContext getBindingContext()
@NotNull public Intrinsics getIntrinsics()
@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.JsName getNameForDescriptor(@NotNull DeclarationDescriptor descriptor)
@Nullable public com.google.dart.compiler.backend.js.ast.JsNameRef getQualifierForDescriptor(@NotNull DeclarationDescriptor descriptor)