org.jetbrains.k2js.translate.context
Class DynamicContext

java.lang.Object
  extended by org.jetbrains.k2js.translate.context.DynamicContext

public final class DynamicContext
extends java.lang.Object


Method Summary
 com.intellij.openapi.util.Pair<com.google.dart.compiler.backend.js.ast.JsVars.JsVar,com.google.dart.compiler.backend.js.ast.JsExpression> createTemporary(com.google.dart.compiler.backend.js.ast.JsExpression initExpression)
           
 com.google.dart.compiler.backend.js.ast.JsVars.JsVar createTemporaryVar(com.google.dart.compiler.backend.js.ast.JsExpression initExpression)
           
 TemporaryVariable declareTemporary(com.google.dart.compiler.backend.js.ast.JsExpression initExpression)
           
 com.google.dart.compiler.backend.js.ast.JsScope getScope()
           
 DynamicContext innerBlock(com.google.dart.compiler.backend.js.ast.JsBlock block)
           
 com.google.dart.compiler.backend.js.ast.JsBlock jsBlock()
           
static DynamicContext newContext(com.google.dart.compiler.backend.js.ast.JsScope scope, com.google.dart.compiler.backend.js.ast.JsBlock block)
           
static DynamicContext rootContext(com.google.dart.compiler.backend.js.ast.JsScope rootScope, com.google.dart.compiler.backend.js.ast.JsBlock globalBlock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

rootContext

@NotNull
public static DynamicContext rootContext(@NotNull
                                                 com.google.dart.compiler.backend.js.ast.JsScope rootScope,
                                                 @NotNull
                                                 com.google.dart.compiler.backend.js.ast.JsBlock globalBlock)

newContext

@NotNull
public static DynamicContext newContext(@NotNull
                                                com.google.dart.compiler.backend.js.ast.JsScope scope,
                                                @NotNull
                                                com.google.dart.compiler.backend.js.ast.JsBlock block)

innerBlock

@NotNull
public DynamicContext innerBlock(@NotNull
                                         com.google.dart.compiler.backend.js.ast.JsBlock block)

declareTemporary

@NotNull
public TemporaryVariable declareTemporary(@Nullable
                                                  com.google.dart.compiler.backend.js.ast.JsExpression initExpression)

createTemporary

@NotNull
public com.intellij.openapi.util.Pair<com.google.dart.compiler.backend.js.ast.JsVars.JsVar,com.google.dart.compiler.backend.js.ast.JsExpression> createTemporary(@Nullable
                                                                                                                                                                         com.google.dart.compiler.backend.js.ast.JsExpression initExpression)

createTemporaryVar

@NotNull
public com.google.dart.compiler.backend.js.ast.JsVars.JsVar createTemporaryVar(@NotNull
                                                                                       com.google.dart.compiler.backend.js.ast.JsExpression initExpression)

getScope

@NotNull
public com.google.dart.compiler.backend.js.ast.JsScope getScope()

jsBlock

@NotNull
public com.google.dart.compiler.backend.js.ast.JsBlock jsBlock()