Skip to main content
Sign in
Snippets Groups Projects
Select Git revision
  • a224c7ba845fba71df1c51f5f98e949f41419130
  • master default protected
  • improvements-suggested-by-martin
  • v0.0
4 results

eval.tex

Blame
  • Forked from stgroup / misc / latex-templates / Thesis Template - German
    Source project has a limited visibility.
    ragconnect.mustache 13.68 KiB
    {{> handler}}
    aspect RagConnect {
      {{#allEndpointDefinitionList}}
        {{#Send}}
          {{> sendDefinition}}
        {{/Send}}
        {{^Send}}
          {{> receiveDefinition}}
        {{/Send}}
      {{/allEndpointDefinitionList}}
    
      class RagConnectRejectMappingException extends RuntimeException {}
      private static void ASTNode.reject() {
        throw new RagConnectRejectMappingException();
      }
    
      {{#allMappingDefinitions}}
      {{#isUsed}}
      {{> mappingDefinition}}
      {{/isUsed}}
      {{/allMappingDefinitions}}
    
      {{#allDependencyDefinitionList}}
      {{> dependencyDefinition}}
      {{/allDependencyDefinitionList}}
    
      {{#tokenComponentsThatNeedProxy}}
      {{> tokenComponent}}
      {{/tokenComponentsThatNeedProxy}}
    
      {{#typeDeclsOfContextFreeEndpointTargets}}
      {{> typeDecl}}
      {{/typeDeclsOfContextFreeEndpointTargets}}
    
      {{! --- touchedTerminals ---}}
      {{#allTypeDecls}}
        {{Name}} {{Name}}.{{touchedTerminalsMethodName}}() {
        {{#tokenComponents}}
          get{{Name}}();
        {{/tokenComponents}}
        {{#normalComponents}}
          get{{Name}}().{{touchedTerminalsMethodName}}();
        {{/normalComponents}}
        {{#listComponents}}
          for ({{#TypeDecl}}{{Name}}{{/TypeDecl}} element : get{{Name}}List()) {
            element.{{touchedTerminalsMethodName}}();
          }
        {{/listComponents}}
        return this;
      }
      {{/allTypeDecls}}
      ASTNode ASTNode.{{touchedTerminalsMethodName}}() {
        return this;
      }
      {{configJastAddList}}<T> {{configJastAddList}}.{{touchedTerminalsMethodName}}() {
        for (T child : this) {
          child.{{touchedTerminalsMethodName}}();
        }
        return this;
      }
      {{configJastAddOpt}}<T> {{configJastAddOpt}}.{{touchedTerminalsMethodName}}() {
        if (getChild(0) != null) {
          getChild(0).{{touchedTerminalsMethodName}}();
        }
        return this;
      }
    
      {{> ListAspect}}
    
      static void ASTNode.{{logConsoleOut}}(String message, Object... args) {