Added in-depth links to function modifiers, structs and enums in structure section

This commit is contained in:
holgerd77 2016-02-19 12:05:56 +01:00
parent 448d1601ce
commit aec2f4879a
3 changed files with 16 additions and 4 deletions

View File

@ -359,6 +359,8 @@ possible.
.. index:: ! event .. index:: ! event
.. _events:
****** ******
Events Events
****** ******

View File

@ -53,7 +53,8 @@ towards other contracts.
Function Modifiers Function Modifiers
================== ==================
Function modifiers can be used to amend the semantics of functions in a declarative way. Function modifiers can be used to amend the semantics of functions in a declarative way
(see :ref:`modifiers` in contracts section).
:: ::
@ -70,7 +71,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. in the section on contracts for a more in-depth explanation.
.. _structure-events: .. _structure-events:
@ -90,12 +91,16 @@ Events are convenience interfaces with the EVM logging facilities.
} }
} }
See :ref:`events` in contracts section for information on how events are declared
and can be used from within a dapp.
.. _structure-structs-types: .. _structure-structs-types:
Structs Types Structs Types
============= =============
Structs are custom defined types that can group several variables. Structs are custom defined types that can group several variables (see
:ref:`structs` in types section).
:: ::
@ -113,7 +118,8 @@ Structs are custom defined types that can group several variables.
Enum Types Enum Types
========== ==========
Enums can be used to create custom types with a finite set of values. Enums can be used to create custom types with a finite set of values (see
:ref:`enums` in types section).
:: ::

View File

@ -148,6 +148,8 @@ String Literals are written with double quotes (`"abc"`). As with integer litera
.. index:: enum .. index:: enum
.. _enums:
Enums Enums
===== =====
@ -357,6 +359,8 @@ Members
.. index:: ! struct, ! type;struct .. index:: ! struct, ! type;struct
.. _structs:
Structs Structs
------- -------