GoodocAnchorLabel

GoogleApi.ContentWarehouse.V1.Model.GoodocAnchorLabel


Table of Contents ▼

Jump to a specific part of the page:

Description

An anchor label can be attached to any element to give it a reference address. LogicalEntity links (see goodoc-semantics.proto) may use anchor labels to point to goodoc elements (they may also use indices to locate the element, but the indices could become invalid if the goodocs are allowed to mutate). Multiple elements may have the same anchor.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. Anchor (type: String.t, default: nil)
    - There is a generic method for composing such strings. Please take a look at GoodocUtils::GenerateUniqueAnchorName(...) in ocr/goodoc/goodoc-utils.h.
  2. anchorScope (type: integer(), default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocAnchorLabel{
Anchor: String.t() | nil,
anchorScope: integer() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocAnchorLabel