Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str ListLoad Str Str NameLoad decorator_list FunctionDef arguments args defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases body Assign AttributeStore NameLoad attr Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr BinOpAdd Str Call NameLoad Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str NameLoad Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str decorator_list Expr Call NameLoad Str decorator_list decorator_list
N/A pyjamas.JSONService JSONProxy pyjamas.HTTPRequest HTTPRequest __pyjamas__ JS PyjamasExternalProxy N/A JSONProxy N/A N/A singleton None __init__ N/A N/A self N/A N/A N/A N/A N/A JSONProxy __init__ self /obj/handler N/A call methods True N/A instance N/A N/A N/A N/A N/A N/A N/A PyjamasExternalProxy singleton N/A N/A N/A PyjamasExternalProxy singleton N/A PyjamasExternalProxy N/A N/A PyjamasExternalProxy singleton N/A staticmethod N/A PyjamasExternalModule N/A N/A N/A N/A PyjamasExternalModule http N/A HTTPRequest __init__ N/A N/A self mod_name N/A N/A N/A N/A self base N/A http:// N/A JS __location['host'] N/A req N/A {"method":"methods","params":["%s"],"id":1} mod_name N/A res N/A N/A N/A PyjamasExternalModule http syncPost N/A N/A self base /obj/handler req N/A N/A self methods N/A N/A N/A self __parseJSON res N/A result N/A N/A self module mod_name N/A method N/A self methods N/A N/A N/A N/A self __createMethod method N/A __encodeJSON N/A N/A self obj N/A N/A N/A N/A JS 
        var t = typeof(@{{obj}});
        if(@{{obj}}==null) {
            return 'null';
        }else if(t=='number') {
            return ''+@{{obj}};
        }else if(t=='string'){
            return '"'+@{{obj}}+'"'
        }else if(@{{isinstance}}([@{{obj}},@{{list}}],{})) {
            var parts = [];
            for(var i=0; i<@{{obj}}['length']; i++) {
                parts['append']([ @{{self}}['__encodeJSON']([@{{obj}}[i]],{}) ],{});
            }
            return "[" + ','['join']([parts],{}) + "]";
        }else{
            throw "Dicts and Objectss can not be jsoned !";
        }
         N/A __parseJSON N/A N/A self str N/A N/A N/A N/A JS 
        try {
            return (/^("(\\.|[^"\\\n\r])*?"|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/.test(@{{str}})) &&
                eval('(' + @{{str}} + ')');
        } catch (e) {
            return false;
        }
         N/A __createMethod N/A N/A self method N/A N/A inner N/A N/A N/A args kargs N/A N/A params N/A N/A self __encodeJSON args N/A req N/A {"method":"call","params":["%s", "%s", %s],"id":2} N/A N/A self module method params N/A res N/A N/A N/A PyjamasExternalModule http syncPost N/A N/A self base /obj/handler req N/A N/A N/A N/A self __parseJSON res N/A result N/A N/A N/A JS 
        @{{self}}[@{{method}}] = @{{inner}};
         N/A N/A