lib/compile.js
function prepareInternalJSCode(source, options) {
	// Parse
	let tokens = parse(source)

	// Transform
	if (options.transformer) {
		tokens = options.transformer(tokens) || tokens
	}

	let reducedTokens = reduce(tokens, options)

	return createCode(reducedTokens, options, false)
}
function prepareInternalJSCode(source, options) {
	// Parse
	let tokens = parse(source)

	// Transform
	if (options.transformer) {
		tokens = options.transformer(tokens) || tokens
	}

	let reducedTokens = reduce(tokens, options)

	return createCode(reducedTokens, options, false)
}
function prepareInternalJSCode ( source , options ) { // Parse let tokens = parse ( source ) // Transform if ( options . transformer ) { tokens = options . transformer ( tokens ) || tokens } let reducedTokens = reduce ( tokens , options ) return createCode ( reducedTokens , options , false ) }
Common logic for `compile` and `compile.standAlone`
@private
@param {string} source
@param {Object} options - already prepared
@returns {SourceBuilder}
Common logic for compile and compile . standAlone