-
Notifications
You must be signed in to change notification settings - Fork 1
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
26 changed files
with
148 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = '[[ ' + obj.toString() + " ]]\n"; |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = obj.toString(); |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
|
||
function getQN(object) { | ||
var str = ""; | ||
if (typeof object.getName === "function") { | ||
str = object.getName(); | ||
if (typeof object.eContainer === "function" && object.eContainer() !== null) { | ||
str = getQN(object.eContainer()) + "." + str; | ||
} | ||
} | ||
return str; | ||
} | ||
|
||
|
||
if (typeof obj === "object") { | ||
res = getQN(obj); | ||
} else { | ||
res = obj; | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = "'" + obj.toString() + "'"; |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
} | ||
]] |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
} | ||
[[ | ||
]] |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
QName a qualified named (e.g., `pkg1.Class1`) | ||
STRING a string literal (between double quotes) | ||
kompren.Slicer.uriMetamodel The source metamodel URIs | ||
kompren.Slicer.inputClasses The input classes | ||
kompren.Radius.focusedClasses The classes of the radius | ||
kompren.Slicer.radius A `radius` | ||
kompren.Slicer.name The `name` of the slicer | ||
kompren.OppositeCreation.name The `name` of the opposite reference | ||
kompren.Constraint.name The `name` of the constraint | ||
kompren.SlicedElement.domain The sliced element | ||
CODE_BLOCK a block of Xtend code (between `[[` `]]`) | ||
kompren.Constraint.expression The boolean expression of the constraint | ||
IDKOMPREN a simple variable name (i.e. must follow the Java naming convention) | ||
kompren.SlicedElement.expression An expression | ||
kompren.Slicer.helper a helper | ||
kompren.SlicedElement.isOption an optional element to slice | ||
kompren.Slicer.onEnd a post-execution code block | ||
kompren.Slicer.onStart a pre-execution code block | ||
kompren.Slicer.strict a strict slicer |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
[[ |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = obj.toString(); |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
} | ||
end |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Double a double value | ||
`angle` The rotation angle | ||
`distance` The distance |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
begin |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = obj.toString(); |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = obj.toString(); |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = "\"" + obj.toString() + "\""; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
STRING a string that can be surrounded by either simple quotes ' or double quotes " | ||
targetplatform.Location.ID The ID | ||
targetplatform.Environment.ID The ID | ||
targetplatform.UI.ID The ID | ||
ID a character sequence starting with an alpha (no space allowed) | ||
targetplatform.Location.URI The URI of the location | ||
Option `requirements`, whether this target must have all required IUs of the selected IUs available and included in the target to resolve successfully. If this option is true, the planner will be used to resolve otherwise the slicer is used. The planner can describe any missing requirements as errors.<br>`allEnvironments`, whether this target should download and include environment (platform) specific units for all available platforms (vs. only the current target definition’s environment settings). Only supported by the slicer so requirements must not be used for this setting to be used. `source`, whether this location should download and include source bundles for the selected units if the associated source is available in the repository.<br>`configurePhase`, whether this target should execute the configure phase after fetching the selected units. |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{ |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
if(typeof obj === "object") { | ||
res = "AnId"; | ||
} else { | ||
res = obj.toString(); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = obj.toString(); |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Javascript code here. | ||
// Use the variable 'obj' to format it as expected in the variable 'res'. | ||
// For instance: | ||
// res = "'" + obj.toString() + "'" | ||
// Helper methods can be coded here as in any Javascript file. | ||
res = obj.toString(); |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
STRING_LIT a string literal (between double quotes) | ||
ID an identifier | ||
thingML.Message.name The name of the message | ||
thingML.Thing.name The name of the thing | ||
thingML.State.name The name of the state | ||
thingML.Instance.name The name of the instance | ||
thingML.Instance.type The type | ||
thingML.Configuration.name The name of the configuration | ||
thingML.CompositeState.initial The initial state | ||
thingML.CompositeState.substate Sub-states | ||
thingML.PlatformAnnotation.name The name of the annotation | ||
thingML.Message.parameters Parameters | ||
thingML.Type.name The name | ||
thingML.EnumerationLiteral.name The name of the enumeration | ||
thingML.ParallelRegion.name The name of the parallel region |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{ |
Binary file not shown.