mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs: The default visibility level for state variables is internal
This commit is contained in:
parent
60090fb4a9
commit
259bf3f23a
@ -32,6 +32,7 @@ For state variables, ``external`` is not possible.
|
|||||||
Those functions and state variables can only be
|
Those functions and state variables can only be
|
||||||
accessed internally (i.e. from within the current contract
|
accessed internally (i.e. from within the current contract
|
||||||
or contracts deriving from it), without using ``this``.
|
or contracts deriving from it), without using ``this``.
|
||||||
|
This is the default visibility level for state variables.
|
||||||
|
|
||||||
``private``
|
``private``
|
||||||
Private functions and state variables are only
|
Private functions and state variables are only
|
||||||
|
Loading…
Reference in New Issue
Block a user