use of st.gravel.support.compiler.ast.PragmaNode in project gravel by gravel-st.
the class MethodNode method returnTypeAndBodySourceOn_.
public MethodNode returnTypeAndBodySourceOn_(final StringBuilder _aStream) {
if (_returnType != null) {
_aStream.append(' ');
_aStream.append("{^");
_returnType.sourceOn_(_aStream);
_aStream.append('}');
}
for (final PragmaNode _each : _pragmas) {
_aStream.append('\n');
_aStream.append(' ');
_each.sourceOn_(_aStream);
}
_body.methodSourceOn_(_aStream);
return this;
}
use of st.gravel.support.compiler.ast.PragmaNode in project gravel by gravel-st.
the class KeywordMethodNode method returnTypeAndBodySourceOn_.
@Override
public KeywordMethodNode returnTypeAndBodySourceOn_(final StringBuilder _aStream) {
if (_returnType != null) {
_aStream.append(' ');
_aStream.append("{^");
_returnType.sourceOn_(_aStream);
_aStream.append('}');
}
for (final PragmaNode _each : _pragmas) {
_aStream.append('\n');
_aStream.append(' ');
_each.sourceOn_(_aStream);
}
_body.methodSourceOn_(_aStream);
return this;
}
Aggregations