Commit 111c1ce5 authored by Abdallah Atouani's avatar Abdallah Atouani
Browse files

add tag schemas

parent 52f1dffe
Pipeline #408634 passed with stage
in 1 minute and 35 seconds
......@@ -27,7 +27,7 @@ import java.util.regex.Pattern;
public class DatasetArtifactSymbolCreator implements TagSymbolCreator {
protected final String regexExpression = "\\s*\\{\\s*artifact\\s*=\\s*(.+):(.+):(.+)\\s*,\\s*type\\s*=\\s*(.*)\\s*\\}\\s*";
protected final String regexExpression = "\\s*\\{\\s*artifact\\s*=\\s*(.+):(.+):(.+)\\s*,\\s*type\\s*=\\s*(.*)\\s*\\}\\s*";
protected final Pattern pattern = Pattern.compile(regexExpression, Pattern.MULTILINE);
@Override
......
/* (c) https://github.com/MontiCore/monticore */
package artifacttag;
tagschema DatasetArtifactTagSchema {
tagtype DatasetArtifact for EMAComponentSymbol is
{ artifact = ${artifact:String}, type = ${type:String} };
tagtype DatasetArtifact for EMAComponentInstanceSymbol is
{ artifact = ${artifact:String}, type = ${type:String} };
}
\ No newline at end of file
/* (c) https://github.com/MontiCore/monticore */
package artifacttag;
tagschema LayerArtifactParameterTagSchema {
tagtype LayerArtifactParameter for EMAComponentSymbol is
{ artifact = ${artifact:String}, id = ${id:String} };
tagtype LayerArtifactParameter for EMAComponentInstanceSymbol is
{ artifact = ${artifact:String}, id = ${id:String} };
}
\ No newline at end of file
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