On this page

new Template(): Template
Returns:<Template>
Attributes
NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:<number>
NUMBER_OF_IDENTIFIER_START_CHARS:<number>
Attributes
string or string collection
Returns:<string>
returns a single string from array

  • fn {Stringable} a runtime function (.runtime.js) "template"
  • Returns: <string> the updated and normalized function string

  • modules {WithId[]} a collection of modules to get array bounds for
  • Returns: {false|Tuple<number, number>} returns the upper and lower array bounds or false if not every module has a number based id

Attributes
string to convert to identity
Returns:<string>
converted identity

Attributes
number to convert to ident
Returns:<string>
returns single character ident

Attributes
number to convert to ident
Returns:<string>
returns single character ident

Attributes
string to create prefix for
prefix:<string>
prefix to compose
Returns:<string>
returns new prefix string

Attributes
modules:<Module[]>
modules to render (should be ordered by identifier)
renderModule:<object>
function to render a module
prefix:<string>
applying prefix strings
Returns:<Source> | <null>
rendered chunk modules in a Source object or null if no modules

Attributes
runtimeModules:<RuntimeModule[]>
array of runtime modules in order
render context
Returns:<Source>
rendered chunk runtime modules in a Source object

Attributes
runtimeModules:<RuntimeModule[]>
array of runtime modules in order
render context
Returns:<Source>
rendered runtime modules in a Source object

Attributes
string to be converted to commented in bundle code
Returns:<string>
returns a commented version of string

Attributes
the string converted to identifier
Returns:<string>
created identifier

Attributes
string to be converted to "normal comment"
Returns:<string>
returns a commented version of string

Attributes
string path to be normalized
Returns:<string>
normalized bundle-safe path