Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-11-12 06:40:52 -0500
committerHenrik Rentz-Reichert2013-11-12 06:40:52 -0500
commit23df4a8c6836b882d37fc47bb1ca268438d4690f (patch)
treeda964d4f751c155a60210b5fe2f7a19d5e63751c /plugins/org.eclipse.etrice.generator.config/xtend-gen/org
parente5c32c6a49108f37f8fe26565d98be779fca41c9 (diff)
downloadorg.eclipse.etrice-23df4a8c6836b882d37fc47bb1ca268438d4690f.tar.gz
org.eclipse.etrice-23df4a8c6836b882d37fc47bb1ca268438d4690f.tar.xz
org.eclipse.etrice-23df4a8c6836b882d37fc47bb1ca268438d4690f.zip
[*] changed character encoding to Cp1252
since in UTF-8 the guillemets (french quotes) of Xtext were wrong
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.config/xtend-gen/org')
-rw-r--r--plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java54
1 files changed, 49 insertions, 5 deletions
diff --git a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
index 4dc041132..84ed90e41 100644
--- a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
+++ b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
@@ -110,7 +110,12 @@ public class DataConfiguration implements IDataConfiguration {
AttrClassConfig _xblockexpression = null;
{
StringConcatenation _builder = new StringConcatenation();
- _builder.append("/�actor.name�/�path.toStringPath�");
+ _builder.append("/");
+ String _name = actor.getName();
+ _builder.append(_name, "");
+ _builder.append("/");
+ String _stringPath = this.toStringPath(path);
+ _builder.append(_stringPath, "");
String id = _builder.toString();
AttrClassConfig _get = DataConfigurationHelper.actorClassAttrMap.get(id);
_xblockexpression = (_get);
@@ -122,7 +127,20 @@ public class DataConfiguration implements IDataConfiguration {
String _xblockexpression = null;
{
StringConcatenation _builder = new StringConcatenation();
- _builder.append("/�pc.name�/�IF regular�regular�ELSE�conjugated�ENDIF�/�path.toStringPath�");
+ _builder.append("/");
+ String _name = pc.getName();
+ _builder.append(_name, "");
+ _builder.append("/");
+ {
+ if (regular) {
+ _builder.append("regular");
+ } else {
+ _builder.append("conjugated");
+ }
+ }
+ _builder.append("/");
+ String _stringPath = this.toStringPath(path);
+ _builder.append(_stringPath, "");
String id = _builder.toString();
String _stringExpr = null;
AttrClassConfig _get = DataConfigurationHelper.protocolClassAttrMap.get(id);
@@ -140,7 +158,18 @@ public class DataConfiguration implements IDataConfiguration {
private String toStringPath(final List<Attribute> path) {
StringConcatenation _builder = new StringConcatenation();
- _builder.append("�FOR a : path SEPARATOR \'/\'��a.name��ENDFOR�");
+ {
+ boolean _hasElements = false;
+ for(final Attribute a : path) {
+ if (!_hasElements) {
+ _hasElements = true;
+ } else {
+ _builder.appendImmediate("/", "");
+ }
+ String _name = a.getName();
+ _builder.append(_name, "");
+ }
+ }
String _string = _builder.toString();
return _string;
}
@@ -245,7 +274,10 @@ public class DataConfiguration implements IDataConfiguration {
boolean _notEquals = (!Objects.equal(_filePath, null));
if (_notEquals) {
StringConcatenation _builder = new StringConcatenation();
- _builder.append("new ConfigSourceFile(\"�dynConfig.filePath�\")");
+ _builder.append("new ConfigSourceFile(\"");
+ String _filePath_1 = dynConfig.getFilePath();
+ _builder.append(_filePath_1, "");
+ _builder.append("\")");
_xifexpression = _builder.toString();
} else {
String _userCode2 = null;
@@ -310,7 +342,19 @@ public class DataConfiguration implements IDataConfiguration {
private String toStringExpr(final LiteralArray literal) {
StringConcatenation _builder = new StringConcatenation();
- _builder.append("�FOR l : literal.literals SEPARATOR \',\'��l.toStringExpr��ENDFOR�");
+ {
+ EList<Literal> _literals = literal.getLiterals();
+ boolean _hasElements = false;
+ for(final Literal l : _literals) {
+ if (!_hasElements) {
+ _hasElements = true;
+ } else {
+ _builder.appendImmediate(",", "");
+ }
+ String _stringExpr = this.toStringExpr(l);
+ _builder.append(_stringExpr, "");
+ }
+ }
String _string = _builder.toString();
return _string;
}

Back to the top