Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
languages
Tagging
Commits
62318a80
Commit
62318a80
authored
Nov 16, 2017
by
vonWenckstern
Browse files
removed one more file
parent
fcb70c0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/tagging/_symboltable/IsTaggable.java
deleted
100644 → 0
View file @
fcb70c0b
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
* *******************************************************************************
*/
package
de.monticore.lang.tagging._symboltable
;
import
java.util.Collection
;
/**
* Created by Michael von Wenckstern on 30.05.2016.
*
* @author Michael von Wenckstern
*/
public
interface
IsTaggable
{
/**
* if component a/Controller.arc is loaded, then only tags in the
* files a/*.tag are loaded
* but this allows you to save different tagging information for the
* same component in different files, e.g. a/PowerConsumption.tag
* and a/Time.tag
*
* @return all tags of the components
*/
Collection
<
TagSymbol
>
getTags
();
/**
* returns only the tag of a special tag kind (e.g. if you want only
* to evaluate PowerConsumption of a component, than call
* getTags(PowerConsumption.TAGKIND)
* --> methodology is the same as in PN's resolve function
*/
<
T
extends
TagSymbol
>
Collection
<
T
>
getTags
(
final
TagKind
tagKind
);
/**
* adds a tag to the symbol
*
* @param tag the tag symbol which should be added
*/
void
addTag
(
final
TagSymbol
tag
);
/**
* adds all tags to the symbol
*
* @param tags
*/
void
addTags
(
final
TagSymbol
...
tags
);
/**
* add all tags to the symbol
*
* @param tags
*/
void
addTags
(
Iterable
<?
extends
TagSymbol
>
tags
);
}
src/main/java/de/monticore/lang/tagging/_symboltable/TaggingResolver.java
View file @
62318a80
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
* *******************************************************************************
*/
package
de.monticore.lang.tagging._symboltable
;
import
java.io.File
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment