Skip to content

Commit

Permalink
generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
mmews committed Aug 9, 2024
1 parent add4be0 commit 147c1a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,25 +247,17 @@ public void setTypingStrategy(final TypingStrategy typingStrategy) {
*/
@Override
public EList<TStructMember> getStructuralMembers() {
EList<TStructMember> _xifexpression = null;
TStructuralType _structuralType = this.getStructuralType();
boolean _tripleNotEquals = (_structuralType != null);
if (_tripleNotEquals) {
_xifexpression = this.getStructuralType().getOwnedMembers();
return ECollections.<TStructMember>unmodifiableEList(this.getStructuralType().getOwnedMembers());
}
else {
EList<TStructMember> _xifexpression_1 = null;
boolean _isEmpty = this.getAstStructuralMembers().isEmpty();
boolean _not = (!_isEmpty);
if (_not) {
_xifexpression_1 = this.getAstStructuralMembers();
}
else {
_xifexpression_1 = this.getGenStructuralMembers();
}
_xifexpression = _xifexpression_1;
boolean _isEmpty = this.getAstStructuralMembers().isEmpty();
boolean _not = (!_isEmpty);
if (_not) {
return ECollections.<TStructMember>unmodifiableEList(this.getAstStructuralMembers());
}
return ECollections.<TStructMember>unmodifiableEList(_xifexpression);
return ECollections.<TStructMember>unmodifiableEList(this.getGenStructuralMembers());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,25 +234,17 @@ public void setTypingStrategy(TypingStrategy typingStrategy) {
*/
@Override
public EList<TStructMember> getStructuralMembers() {
EList<TStructMember> _xifexpression = null;
TStructuralType _structuralType = this.getStructuralType();
boolean _tripleNotEquals = (_structuralType != null);
if (_tripleNotEquals) {
_xifexpression = this.getStructuralType().getOwnedMembers();
return ECollections.<TStructMember>unmodifiableEList(this.getStructuralType().getOwnedMembers());
}
else {
EList<TStructMember> _xifexpression_1 = null;
boolean _isEmpty = this.getAstStructuralMembers().isEmpty();
boolean _not = (!_isEmpty);
if (_not) {
_xifexpression_1 = this.getAstStructuralMembers();
}
else {
_xifexpression_1 = this.getGenStructuralMembers();
}
_xifexpression = _xifexpression_1;
boolean _isEmpty = this.getAstStructuralMembers().isEmpty();
boolean _not = (!_isEmpty);
if (_not) {
return ECollections.<TStructMember>unmodifiableEList(this.getAstStructuralMembers());
}
return ECollections.<TStructMember>unmodifiableEList(_xifexpression);
return ECollections.<TStructMember>unmodifiableEList(this.getGenStructuralMembers());
}

/**
Expand Down

0 comments on commit 147c1a7

Please sign in to comment.