Represents a trait (interface with optional method implementations).

Hierarchy (view full)

Constructors

Properties

Accessors

Constructors

Properties

The unique identifier of this entity among the compilation unit it belongs to.

loc: SrcInfo
methods: Map<CfgIdx, Cfg>

Accessors

  • get kind(): "trait"
  • Determines if this is a contract or a trait.

    Returns "trait"