public final String getStatementsForInsertingIntoForeignCodeAtIndent ( int startingIndent ) { String code = getCode ( startingIndent ) ; return code . endsWith ( "\n" ) ? code : code + "\n" ; }
Returns a sequence of JavaScript statements suitable for inserting into JS code that is not managed by the CodeChunk DSL . The string is guaranteed to end in a newline .