mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Changed reference naming from understore to dash separation for consistency with existing naming
This commit is contained in:
parent
2e52170d7a
commit
6640e9e918
@ -7,11 +7,11 @@ Structure of a Contract
|
|||||||
***********************
|
***********************
|
||||||
|
|
||||||
Contracts in Solidity are similar to classes in object-oriented languages.
|
Contracts in Solidity are similar to classes in object-oriented languages.
|
||||||
Each contract can contain declarations of :ref:`state_variables`, :ref:`functions`,
|
Each contract can contain declarations of :ref:`state-variables`, :ref:`functions`,
|
||||||
:ref:`function_modifiers`, :ref:`events`, :ref:`structs_types` and :ref:`enum_types`.
|
:ref:`function-modifiers`, :ref:`events`, :ref:`structs-types` and :ref:`enum-types`.
|
||||||
Furthermore, contracts can inherit from other contracts.
|
Furthermore, contracts can inherit from other contracts.
|
||||||
|
|
||||||
.. _state_variables:
|
.. _state-variables:
|
||||||
|
|
||||||
State Variables
|
State Variables
|
||||||
===============
|
===============
|
||||||
@ -40,7 +40,7 @@ Functions are the executable units of code within a contract.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.. _function_modifiers:
|
.. _function-modifiers:
|
||||||
|
|
||||||
Function Modifiers
|
Function Modifiers
|
||||||
==================
|
==================
|
||||||
@ -80,7 +80,7 @@ Events are convenience interfaces with the EVM logging facilities.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.. _structs_types:
|
.. _structs-types:
|
||||||
|
|
||||||
Structs Types
|
Structs Types
|
||||||
=============
|
=============
|
||||||
@ -98,7 +98,7 @@ Structs are custom defined types that can group several variables.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.. _enum_types:
|
.. _enum-types:
|
||||||
|
|
||||||
Enum Types
|
Enum Types
|
||||||
==========
|
==========
|
||||||
|
Loading…
Reference in New Issue
Block a user