code: function (args, callback) {
          if (ternserver) {
            ternserver.request({
                query: {
                  type: "documentation",  //$NON-NLS-1$
                  file: args.meta.location,
                  end: args.params.offset,
                  docFormat: args.params.docFormat
                },
                files: args.files
              },
              function (error, doc) {
                if (error) {
                  callback({request: 'documentation', error: error.message, message: Messages['failedToComputeDoc']}); //$NON-NLS-1$
                } else if (doc && doc.doc) {
                  callback({request: 'documentation', doc: doc}); //$NON-NLS-1$
                } else {
                  callback({request: 'documentation', doc: null}); //$NON-NLS-1$
                }
              });
          } else {
            callback({request: 'documentation', message: Messages['failedToComputeDocNoServer']}); //$NON-NLS-1$
          }
        }
docs: /* documentation message handler