nl_tokens: Processes the provided template replacing variable placeholders with the values of the variables and evaluating all conditions .
pl_tokens: function processTemplate ( template , variables ) { for ( let variableName of Object . <mask> ( variables ) ) { let value = variables [ variableName ] ; template = replaceVariable ( template , variableName , value ) ; } template = evaluateConditions ( template , variables ) ; return template ; }