public LuaScript endScript ( LuaScriptConfig config ) { if ( ! endsWithReturnStatement ( ) ) { add ( new LuaAstReturnStatement ( ) ) ; } String scriptText = buildScriptText ( ) ; return new BasicLuaScript ( scriptText , config ) ; }
End building the script