Commit 549f0aa7 authored by Anna Maria Schmitz's avatar Anna Maria Schmitz
Browse files

Add SomeIPtoEmamTagSchema

parent be13fe75
Pipeline #176156 failed with stage
in 43 seconds
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.embeddedmontiarc.tagging.middleware.someip;
import de.monticore.lang.tagging._symboltable.TaggingResolver;
import de.monticore.symboltable.resolving.CommonResolvingFilter;
public class SomeIPtoEmamTagSchema {
protected static SomeIPToEmamTagSchema instance = null;
protected SomeIPToEmamTagSchema() {
}
protected static SomeIPToEmamTagSchema getInstance() {
if (instance == null) {
instance = new SomeIPToEmamTagSchema();
}
return instance;
}
protected void doRegisterTagTypes(TaggingResolver tagging) {
tagging.addTagSymbolCreator(new SomeIPConnectionSymbolCreator());
tagging.addTagSymbolResolvingFilter(CommonResolvingFilter.create(SomeIPConnectionSymbol.KIND));
}
public static void registerTagTypes(TaggingResolver tagging) {
getInstance().doRegisterTagTypes(tagging);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment