Fan

 

abstract class

compilerJs::JsNode

sys::Obj
  compilerJs::JsNode

JsNode translates a compiler::Node into the equivalent JavaScript source code.

Slots

qnameToJsSource

Str qnameToJs(CType ctype)

Return the JavaScript qname for this CType.

vnameToJsSource

Str vnameToJs(Str name)

Return the JavaScript variable name for the given Fan variable name.

writeSource

abstract Void write(JsWriter out)

Write the JavaScript source code for this node.