code: function at_type() {
    match(/@type/);
    add_tag("type");
    skip_horiz_white();
    if (look(/\{/)) {
      var tdf = typedef();
      current_tag["type"] = tdf["type"];
      current_tag["optional"] = tdf["optional"] ? true : false;
    }
    else if (look(/\S/)) {
      current_tag["type"] = match(/\S+/);
    }
    skip_white();
  }
docs: matches @type {type}  or  @type type  The presence of @type implies that we are dealing with property. ext-doc allows type name to be either inside curly braces or without them at all.