code: private void initKeyVariable(String name, TemplateParserContext context) {
      this.keyVariableInfo = context.addLocalVariable("String", name.trim());
    }
docs: Init the key variable and add it to the parser context
  
  @param name Name of the variable
  @param context Context of the template parser