Skip to content

Improve linking of abstract/concrete methods. #3709

@nicolo-ribaudo

Description

@nicolo-ribaudo

It is incredibly annoying that whenever there is a _M_.Evaluate()/_M_.Link() call I cannot click on it to go to the definition of Evaluate/Link.

Ideally this would be handled automatically by ecmarkup somehow, for now but @tc39/ecma262-editors what would you think about a PR that:

  1. adds a new column to https://tc39.es/ecma262/#table-abstract-methods-of-module-records and https://tc39.es/ecma262/#table-cyclic-module-methods, with links to the concrete implementations of those methods provided by ECMA-262. Maybe with a mention that other specs might provide other implementations.
  2. Manually wraps Link/Evaluate calls with <emu-xref to link to the right row in that table

With that in two clicks I can go from _M_.Evaluate() to the implementation of Evaluate on cyclic module records, which is what I usually care about.

We could also add a link from the description https://tc39.es/ecma262/#sec-moduledeclarationlinking &co back to the table that lists the abstract methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions