Skip to content

Commit

Permalink
Output modifiers for method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
BSteffaniak committed Jul 13, 2022
1 parent aabf044 commit 95680ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/org/flatlang/tree/MethodCall.java
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,12 @@ else if (postfix.length() > 0)
*/
public StringBuilder generateFlatInput(StringBuilder builder, boolean outputChildren)
{
if (getAnnotations() != null) {
getAnnotations().forEach(annotation -> {
annotation.generateFlatInput(builder).append(" ");
});
}

builder.append(getName());

if (declaration instanceof AccessorMethod)
Expand Down

0 comments on commit 95680ca

Please sign in to comment.