code: function (args, callback) {
          ternserver.request({
              query: {
                type: "outline", //$NON-NLS-1$
                file: args.meta.location,
                ast: args.ast
              },
              files: args.files
            },
            function (error, outline) {
              if (error) {
                callback({request: 'outline', error: error.message, message: Messages['failedToComputeOutline']}); //$NON-NLS-1$
              } else if (outline && Array.isArray(outline)) {
                callback({request: 'outline', outline: outline}); //$NON-NLS-1$
              } else {
                callback({request: 'outline', outline: []}); //$NON-NLS-1$
              }
            }
          );
        }
docs: /* outline message handler