Class TraitContractAbstract

Base class representing a common structure for contracts and traits.

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(): "contract" | "trait"
  • Determines if this is a contract or a trait.

    Returns "contract" | "trait"