nl_tokens: [ invokeHelper ] On stack before : hash inverse program params ... ... On stack after : result of helper invocation Pops off the helper s parameters invokes the helper and pushes the helper s return value onto the stack . If the helper is not found helperMissing is called .
pl_tokens: function invokeHelper ( paramSize , name , isSimple ) { var nonHelper = this . popStack ( ) , helper = this . setupHelper ( paramSize , name ) , simple = isSimple ? [ helper . name , ' || ' ] : '' ; var lookup = [ '(' ] . concat ( simple , nonHelper ) ; if ( ! this . options . strict ) { lookup . push ( ' || ' , this . aliasable ( 'helpers.helperMissing' ) ) ; } lookup . push ( ')' ) ; this . <mask> ( this . source . functionCall ( lookup , 'call' , helper . callParams ) ) ; }