Skip to content

Commit

Permalink
bin were missing...
Browse files Browse the repository at this point in the history
  • Loading branch information
arnobl committed Jun 29, 2017
1 parent 5e23497 commit 9eebb21
Show file tree
Hide file tree
Showing 26 changed files with 148 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/config/kompren/CODE_BLOCK.js
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";
6 changes: 6 additions & 0 deletions bin/config/kompren/IDKOMPREN.js
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();
24 changes: 24 additions & 0 deletions bin/config/kompren/QName.js
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;
}

6 changes: 6 additions & 0 deletions bin/config/kompren/STRING.js
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() + "'";
2 changes: 2 additions & 0 deletions bin/config/kompren/close_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
}
]]
4 changes: 4 additions & 0 deletions bin/config/kompren/do_not_join.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
}
[[
]]
19 changes: 19 additions & 0 deletions bin/config/kompren/format_explained.txt
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
2 changes: 2 additions & 0 deletions bin/config/kompren/open_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
[[
Empty file.
6 changes: 6 additions & 0 deletions bin/config/logo/Double.js
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();
2 changes: 2 additions & 0 deletions bin/config/logo/close_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
}
end
3 changes: 3 additions & 0 deletions bin/config/logo/format_explained.txt
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
2 changes: 2 additions & 0 deletions bin/config/logo/open_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
begin
6 changes: 6 additions & 0 deletions bin/config/targetplatform/ID.js
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();
6 changes: 6 additions & 0 deletions bin/config/targetplatform/Option.js
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();
6 changes: 6 additions & 0 deletions bin/config/targetplatform/STRING.js
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() + "\"";
1 change: 1 addition & 0 deletions bin/config/targetplatform/close_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
}
7 changes: 7 additions & 0 deletions bin/config/targetplatform/format_explained.txt
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.
1 change: 1 addition & 0 deletions bin/config/targetplatform/open_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{
10 changes: 10 additions & 0 deletions bin/config/thingML/ID.js
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();
}
6 changes: 6 additions & 0 deletions bin/config/thingML/INT.js
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();
6 changes: 6 additions & 0 deletions bin/config/thingML/STRING_LIT.js
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();
1 change: 1 addition & 0 deletions bin/config/thingML/close_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
}
15 changes: 15 additions & 0 deletions bin/config/thingML/format_explained.txt
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
1 change: 1 addition & 0 deletions bin/config/thingML/open_block.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{
Binary file added bin/docywood.core-0.0.1-SNAPSHOT.jar
Binary file not shown.

0 comments on commit 9eebb21

Please sign in to comment.