Class ContractDefinition

Hierarchy

  • BaseNode
    • ContractDefinition

Constructors

Properties

abstract: boolean = false

Is true if contract is declared as an abstract (using abstract keyword since Solidity 0.6).

Is false otherwise.

baseContracts: InheritanceSpecifier[] = []

Base contracts

contractKind: ContractKind = 'contract'

Type of contract declaration, e.g. contract, library or interface.

location: Location

The contract name

nodes: ContractDefinitionNodes[] = []
range: [number, number]
src: `${number}:${number}`
type: "ContractDefinition" = ...

Generated using TypeDoc