Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
207 changed files
with
225 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<!-- (c) https://github.com/MontiCore/monticore --> | ||
# MontiCore - Getting Started | ||
|
||
--------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<!-- (c) https://github.com/MontiCore/monticore --> | ||
<!DOCTYPE html> | ||
<!-- file is only redirecting the monticore orginisation pagesto the se publication page https://www.se-rwth.de/topics/MontiCore.php--> | ||
<meta charset="utf-8"> | ||
<title>Redirecting to https://www.se-rwth.de/topics/MontiCore.php</title> | ||
<meta http-equiv="refresh" content="0; URL=https://www.se-rwth.de/topics/MontiCore.php"> | ||
<link rel="canonical" href="https://www.se-rwth.de/topics/MontiCore.php"> | ||
<link rel="canonical" href="https://www.se-rwth.de/topics/MontiCore.php"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...ore-generator/it/experiments/templates/src/main/resources/HandleNotExistingTransition.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<#-- (c) https://github.com/MontiCore/monticore --> | ||
${tc.signature("modelName","transitionName")} | ||
public void handle${transitionName?cap_first}(${modelName?cap_first} model){ | ||
//empty body | ||
} | ||
} |
3 changes: 2 additions & 1 deletion
3
monticore-generator/it/experiments/templates/src/main/resources/HandleTransition.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<#-- (c) https://github.com/MontiCore/monticore --> | ||
${tc.signature("modelName","input","toState")} | ||
public void handle${input?cap_first}(${modelName?cap_first} model){ | ||
model.setState(new ${toState}State()); | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
monticore-generator/it/experiments/templates/src/main/resources/HandleTransitionAbstract.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
<#-- (c) https://github.com/MontiCore/monticore --> | ||
${tc.signature("transitionName","modelName")} | ||
abstract void handle${transitionName?cap_first}(${modelName?cap_first} model); |
3 changes: 2 additions & 1 deletion
3
...core-generator/it/experiments/templates/src/main/resources/StatechartTransitionMethod.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<#-- (c) https://github.com/MontiCore/monticore --> | ||
${tc.signature("transitionName")} | ||
public void ${transitionName?uncap_first}(){ | ||
currentState.handle${transitionName?cap_first}(this); | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
monticore-generator/it/experiments/templates/src/test/java/automata/GeneratorTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* (c) https://github.com/MontiCore/monticore */ | ||
package automata; | ||
|
||
import org.junit.Test; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
monticore-generator/it/src/main/grammars/mc/feature/astprod/OverwriteWithASTRule.mc4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
monticore-generator/it/src/main/grammars/mc/feature/composedsymboltablecreator/AB.mc4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
/* (c) https://github.com/MontiCore/monticore */ | ||
package mc.feature.composedsymboltablecreator; | ||
|
||
grammar AB extends mc.feature.composedsymboltablecreator.A, mc.feature.composedsymboltablecreator.B { | ||
|
||
start Type; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
monticore-generator/it/src/main/grammars/mc/feature/overwriting/SubB.mc4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
monticore-generator/it/src/main/grammars/mc/feature/overwriting/SuperA.mc4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../it/src/main/java/mc/examples/automaton/automaton/_visitor/AutomatonDelegatorVisitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...t/src/main/java/mc/examples/automaton/automaton/_visitor/AutomatonInheritanceVisitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...t/src/main/java/mc/examples/automaton/automaton/_visitor/AutomatonParentAwareVisitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ator/it/src/main/java/mc/examples/automaton/automaton/_visitor/AutomatonScopeVisitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...tor/it/src/main/java/mc/examples/automaton/automaton/_visitor/AutomatonSymbolVisitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...generator/it/src/main/java/mc/examples/automaton/automaton/_visitor/AutomatonVisitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...r/it/src/main/java/mc/feature/symboltable/notopscope/_symboltable/NoTopScopeLanguage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...rc/main/java/mc/feature/symboltable/subnotopscope/_symboltable/SubNoTopScopeLanguage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
monticore-generator/it/src/test/java/mc/feature/errorcode/UniqueGeneratedErrorCodeTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* (c) https://github.com/MontiCore/monticore */ | ||
package mc.feature.errorcode; | ||
|
||
import org.junit.Test; | ||
|
1 change: 1 addition & 0 deletions
1
monticore-generator/it/src/test/java/mc/feature/inheritedbuilder/TestInheritedBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
monticore-generator/it/src/test/java/mc/feature/symboltable/NoTopScopeTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
monticore-generator/it/src/test/resources/mc/feature/scopes/ScopeAttributesModel.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* (c) https://github.com/MontiCore/monticore */ | ||
a ScopeShadowed | ||
b ScopeNonExporting | ||
c ScopeOrdered | ||
d SymbolScopeShadowed | ||
e SymbolScopeNonExporting | ||
f SymbolScopeOrdered | ||
f SymbolScopeOrdered |
2 changes: 1 addition & 1 deletion
2
monticore-generator/it/src/test/resources/mc/feature/symboltable/NoTopScope.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
A { | ||
test B | ||
test C | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
monticore-generator/it/src/test/resources/mc/feature/symboltable/SubNoTopScope.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
subFoo A { | ||
test B | ||
test C | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
monticore-generator/src/main/java/de/monticore/codegen/cd2java/_parser/ParserConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
monticore-generator/src/main/java/de/monticore/codegen/cd2java/_parser/ParserService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...rator/src/main/java/de/monticore/codegen/cd2java/_symboltable/SymbolTableCDDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ain/java/de/monticore/codegen/cd2java/_symboltable/language/LanguageBuilderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...r/src/main/java/de/monticore/codegen/cd2java/_symboltable/language/LanguageDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...va/de/monticore/codegen/cd2java/_symboltable/modelloader/ModelLoaderBuilderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...main/java/de/monticore/codegen/cd2java/_symboltable/modelloader/ModelLoaderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...n/java/de/monticore/codegen/cd2java/_symboltable/scope/ArtifactScopeBuilderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...src/main/java/de/monticore/codegen/cd2java/_symboltable/scope/ArtifactScopeDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ava/de/monticore/codegen/cd2java/_symboltable/scope/GlobalScopeClassBuilderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../main/java/de/monticore/codegen/cd2java/_symboltable/scope/GlobalScopeClassDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...main/java/de/monticore/codegen/cd2java/_symboltable/scope/ScopeClassBuilderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...or/src/main/java/de/monticore/codegen/cd2java/_symboltable/scope/ScopeClassDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...rc/main/java/de/monticore/codegen/cd2java/_symboltable/scope/ScopeInterfaceDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ain/java/de/monticore/codegen/cd2java/_symboltable/serialization/ScopeDeSerDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ava/de/monticore/codegen/cd2java/_symboltable/serialization/SerializationCDDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...in/java/de/monticore/codegen/cd2java/_symboltable/serialization/SymbolDeSerDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../main/java/de/monticore/codegen/cd2java/_symboltable/symbTabMill/SymTabMillDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...java/de/monticore/codegen/cd2java/_symboltable/symbol/CommonSymbolInterfaceDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...rator/src/main/java/de/monticore/codegen/cd2java/_symboltable/symbol/SymbolDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...n/java/de/monticore/codegen/cd2java/_symboltable/symbol/SymbolLoaderBuilderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...src/main/java/de/monticore/codegen/cd2java/_symboltable/symbol/SymbolLoaderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ticore/codegen/cd2java/_symboltable/symbol/SymbolResolvingDelegateInterfaceDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...d2java/_symboltable/symbol/symbolloadermutator/MandatoryMutatorSymbolLoaderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...e/codegen/cd2java/_symboltable/symboltablecreator/SymbolTableCreatorBuilderDecorator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.