org.jetbrains.kotlin.js.translate.context
Class DynamicContext

java.lang.Object
  extended by org.jetbrains.kotlin.js.translate.context.DynamicContext

public final class DynamicContext
extends java.lang.Object


Method Summary
 TemporaryVariable declareTemporary(JsExpression initExpression)
           
 JsScope getScope()
           
 DynamicContext innerBlock(JsBlock block)
           
 JsBlock jsBlock()
           
static DynamicContext newContext(JsScope scope, JsBlock block)
           
static DynamicContext rootContext(JsScope rootScope, 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
                                                 JsScope rootScope,
                                                 @NotNull
                                                 JsBlock globalBlock)

newContext

@NotNull
public static DynamicContext newContext(@NotNull
                                                JsScope scope,
                                                @NotNull
                                                JsBlock block)

innerBlock

@NotNull
public DynamicContext innerBlock(@NotNull
                                         JsBlock block)

declareTemporary

@NotNull
public TemporaryVariable declareTemporary(@Nullable
                                                  JsExpression initExpression)

getScope

@NotNull
public JsScope getScope()

jsBlock

@NotNull
public JsBlock jsBlock()