code: function(token, this_, args, scope){
          //fconsole.log('extend', arguments);
          if (this.file.jsScope == basisScope)
          {
            var arg0 = token.arguments[0];
  
            if (arg0 && arg0.type == 'Identifier' && arg0.name == 'Object')
              flow.exit('Too old basis.js (prior 1.0) detected! Current tools doesn\'t support it. Use basisjs-tools 1.3 or lower.');
          }
  
          astExtend(scope, args[0], args[1]);
          token.obj = args[0];
        }
docs: basis.object.extend