From 448d1601ce4c90e33ab43d896d08d34d2b870843 Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Fri, 19 Feb 2016 11:47:16 +0100 Subject: Name-spacing the structure reference links for not being confused with the globally probably more used in-depth links --- docs/structure-of-a-contract.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/structure-of-a-contract.rst b/docs/structure-of-a-contract.rst index 7b3dca60..8691d33a 100644 --- a/docs/structure-of-a-contract.rst +++ b/docs/structure-of-a-contract.rst @@ -7,11 +7,11 @@ Structure of a Contract *********************** Contracts in Solidity are similar to classes in object-oriented languages. -Each contract can contain declarations of :ref:`state-variables`, :ref:`functions`, -:ref:`function-modifiers`, :ref:`events`, :ref:`structs-types` and :ref:`enum-types`. +Each contract can contain declarations of :ref:`structure-state-variables`, :ref:`structure-functions`, +:ref:`structure-function-modifiers`, :ref:`structure-events`, :ref:`structure-structs-types` and :ref:`structure-enum-types`. Furthermore, contracts can inherit from other contracts. -.. _state-variables: +.. _structure-state-variables: State Variables =============== @@ -29,7 +29,7 @@ See the :ref:`types` section for valid state variable types and :ref:`visibility-and-accessors` for possible choices for visability. -.. _functions: +.. _structure-functions: Functions ========= @@ -44,11 +44,11 @@ Functions are the executable units of code within a contract. } } -Functions can be called internally or externally (:ref:`function-calls`) +:ref:`function-calls` can happen internally or externally and have different levels of visibility (:ref:`visibility-and-accessors`) towards other contracts. -.. _function-modifiers: +.. _structure-function-modifiers: Function Modifiers ================== @@ -72,7 +72,7 @@ Function modifiers can be used to amend the semantics of functions in a declarat See :ref:`modifiers` in the section on contracts for a more in-depth explanation. -.. _events: +.. _structure-events: Events ====== @@ -90,7 +90,7 @@ Events are convenience interfaces with the EVM logging facilities. } } -.. _structs-types: +.. _structure-structs-types: Structs Types ============= @@ -108,7 +108,7 @@ Structs are custom defined types that can group several variables. } } -.. _enum-types: +.. _structure-enum-types: Enum Types ========== -- cgit