Commit 8e597aed authored by Julian Johannes Steinsberger-Dührßen's avatar Julian Johannes Steinsberger-Dührßen
Browse files

misc

parent 62c02e9c
Pipeline #348413 passed with stage
in 1 minute and 52 seconds
......@@ -12,7 +12,6 @@ import de.monticore.lang.tagging._symboltable.TagSymbol;
public class LayerPathParameterSymbol extends TagSymbol {
public static final LayerPathParameterKind KIND = LayerPathParameterKind.INSTANCE;
public LayerPathParameterSymbol() {
super(KIND, ".");
}
......
......@@ -59,7 +59,7 @@ public class LayerPathParameterSymbolCreator implements TagSymbolCreator {
protected void addTag(ASTTag tag, TaggingResolver tagging, String root, SymbolKind kind) {
tag.getTagElementList().stream()
.filter(tagElement -> tagElement.getName().equals("LayerPathParameter"))
.forEachOrdered(tagElement -> {
.forEachOrdered(tagElement -> {
Matcher matcher = matchRegexPattern(tagElement.getTagValue());
tag.getScopeList().stream()
.filter(scope -> scope.getScopeKind().equals("NameScope"))
......@@ -84,7 +84,7 @@ public class LayerPathParameterSymbolCreator implements TagSymbolCreator {
Log.error(
String.format(
"'%s' does not match the specified regex pattern '%s'",
regex, "{path = {LayerPathParameter}, name = {tagId}}"
regex, "{path = {LayerPathParameter}, id = {tagId}}"
)
);
return null;
......
......@@ -14,7 +14,6 @@ import de.monticore.lang.monticar.emadl.AbstractTaggingResolverTest;
import de.monticore.lang.tagging._symboltable.TagSymbol;
import de.monticore.lang.tagging._symboltable.TaggingResolver;
import de.monticore.lang.monticar.emadl.tagging.dltag.DataPathSymbol;
import de.monticore.lang.monticar.emadl.tagging.dltag.LayerPathParameterSymbol;
import org.junit.Test;
......
Markdown is supported
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