diff options
author | Henrik Rentz-Reichert | 2018-04-30 16:37:58 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2018-06-08 11:53:10 +0000 |
commit | 29873f1151bb915cf3044f21deca9c756d3f95e0 (patch) | |
tree | dfb65025ce0f630a188baf879d0fd27c5e412cc9 /plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp | |
parent | d1dab866b5986c7e9ec36cdc1d9c9a6fde6d73c4 (diff) | |
download | org.eclipse.etrice-29873f1151bb915cf3044f21deca9c756d3f95e0.tar.gz org.eclipse.etrice-29873f1151bb915cf3044f21deca9c756d3f95e0.tar.xz org.eclipse.etrice-29873f1151bb915cf3044f21deca9c756d3f95e0.zip |
Bug 534211 - unify Detail Code parsing
new scanner, parser and linker for detail code including tests
* the scanner is tokenizing the text
* the parser creates an AST
* the linker associates Room objects to the AST nodes in a context
dependent way
* unit tests for scanner, parser and linker
* a detail code translator is provided with a slightly changed interface
to the translation provider
Change-Id: I84075b6618dc0cedcec6e8da73520bf0a7bcaf90
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp')
-rw-r--r-- | plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/CppTranslationProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/CppTranslationProvider.java b/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/CppTranslationProvider.java index 5b04cf94f..40c5d2c31 100644 --- a/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/CppTranslationProvider.java +++ b/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/CppTranslationProvider.java @@ -12,7 +12,7 @@ package org.eclipse.etrice.generator.cpp.gen; -import java.util.ArrayList; +import java.util.List; import org.eclipse.emf.ecore.EObject; import org.eclipse.etrice.core.fsm.fSM.AbstractInterfaceItem; @@ -39,7 +39,7 @@ public class CppTranslationProvider extends DefaultTranslationProvider { } @Override - public String getInterfaceItemMessageText(AbstractInterfaceItem item, EObject abstractMsg, ArrayList<String> args, String index, String orig) { + public String getInterfaceItemMessageText(AbstractInterfaceItem item, EObject abstractMsg, List<String> args, String index, String orig) { if (index==null) return orig; |