MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / newLine

Method newLine

src/ast/ast_print.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 bool gen2 = true;
103 protected:
104 void newLine () {
105 auto nlPos = ss.tellp();
106 if ( nlPos != lastNewLine ) {
107 ss << "\n";
108 lastNewLine = ss.tellp();
109 }
110 }
111 __forceinline static bool noBracket ( Expression * expr ) {
112 return expr->topLevel || expr->bottomLevel || expr->argLevel;
113 }

Callers

nothing calls this directly

Calls 1

tellpMethod · 0.80

Tested by

no test coverage detected