Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Cpp
Commits
028075d1
Commit
028075d1
authored
Jun 18, 2018
by
Christoph Richter
Browse files
BaseExecuteMethodGeneratorHandler: Added documentation
parent
a4b10e5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/generator/cpp/converter/BaseExecuteMethodGeneratorHandler.java
View file @
028075d1
...
...
@@ -5,6 +5,11 @@ import de.se_rwth.commons.logging.Log;
import
java.util.List
;
/**
* Implements the chain-of-responsibility pattern
*
* @author Christoph Richter
*/
public
abstract
class
BaseExecuteMethodGeneratorHandler
{
private
BaseExecuteMethodGeneratorHandler
successor
=
null
;
...
...
src/main/java/de/monticore/lang/monticar/generator/cpp/converter/ExecuteMethodGenerator.java
View file @
028075d1
...
...
@@ -10,7 +10,11 @@ import de.se_rwth.commons.logging.Log;
import
java.util.List
;
/**
* Generates a execute method for math symbols.
* Can be extended by setSuccessors() to handle unknown symbols. Implements chain-of-responsibility pattern.
*
* @author Sascha Schneiders
* @author Christoph Richter implemented chain-of-responsibility pattern
*/
public
class
ExecuteMethodGenerator
extends
BaseExecuteMethodGeneratorHandler
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment