Skip to content
Snippets Groups Projects
Select Git revision
  • fd9290fc09c9c40a25a98b9cde42217d6dd2e8fa
  • dev default protected
  • main protected
  • feature/ros-java-integration
4 results

mappingApplication.mustache

Blame
  • mappingApplication.mustache 465 B
    {{lastDefinitionToType}} {{lastResult}};
    try {
      {{#InnerMappingDefinitions}}
      {{^last}}{{toType}} {{/last}}{{outputVarName}} = {{methodName}}({{inputVarName}});
      {{/InnerMappingDefinitions}}
    } catch (RagConnectRejectMappingException e) {
      // do not print message in case of rejection
      {{preemptiveReturn}}
    } catch (Exception e) {
      e.printStackTrace();
      {{preemptiveReturn}}
    }
    {{^alwaysApply}}
    if ({{{condition}}}) {
      {{preemptiveReturn}}
    }
    {{/alwaysApply}}