Add support for Import Statements#107
Conversation
|
Very cool feature! Hopefully this can be reviewed and merged into the code base. |
…ed elements via model qualifier, integration tests for imported models
|
Changes:
|
h-man2
left a comment
There was a problem hiding this comment.
See comments
Please add dev documentation about the internals
|
|
||
| // check for constructor call | ||
| MClassifier cf = ctx.model().getClassifier(opname); | ||
| MClassifier cf = srcClassifier.model() != null ? srcClassifier.model().getClassifier(opname) |
There was a problem hiding this comment.
Please clarify the reason behind the check.
| fName = name; | ||
| } | ||
|
|
||
| public Token getfName() { |
There was a problem hiding this comment.
I saw many f in the code base and still doesn't get the convention, do you know why there were f variables?
There was a problem hiding this comment.
Removed f's from variable names.
| * of external model files and their specified elements. | ||
| */ | ||
| public class ASTImportStatement extends AST { | ||
| private final List<String> fSymbols; |
There was a problem hiding this comment.
Please f from Name (old style).
There was a problem hiding this comment.
Same here, removed f's from variable names.
| * @author Stefan Schoon | ||
| * @author Mark Richters | ||
| * @author Lars Hamann | ||
| * @author Stefan Schoon |
There was a problem hiding this comment.
Authorship added to relevant classes.
|
It was an old prefix for "field" i.e. an instance variable. |
…qualified element resolution
No description provided.