class compilerEs::CompileEsPlugin

sys::Obj
  compiler::CompilerSupport
    compiler::CompilerStep
      compilerEs::CompileEsPlugin

Source

Fantom source to JavaScript source compiler - this class is plugged into the compiler pipeline by the compiler::CompileJs step.

closureSupport

JsClosure closureSupport { private set }

Source

dependOnNames

Str:Bool dependOnNames := [:].with() |[Obj:Obj?]->Void| { ... }

Source

js

JsWriter js { private set }

Source

make

new make(Compiler c)

Source

nextUid

Int nextUid()

Source

podAlias

Str podAlias(Str podName)

Source

Get the alias for this pod if one was defined in js.props, otherwise return the pod name.

run

virtual override Void run()

Source

sourcemap

SourceMap sourcemap { private set }

Source

thisName

Str thisName := "this"

Source

The variable name that refers to "this" in the current method context