mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13096 from victorknox/develop
Moved Keywords section from 'Cheatsheet' to 'Units and Globally Available Variables'
This commit is contained in:
commit
b02f64818b
@ -112,13 +112,3 @@ Modifiers
|
|||||||
- ``override``: States that this function, modifier or public state variable changes
|
- ``override``: States that this function, modifier or public state variable changes
|
||||||
the behaviour of a function or modifier in a base contract.
|
the behaviour of a function or modifier in a base contract.
|
||||||
|
|
||||||
Reserved Keywords
|
|
||||||
=================
|
|
||||||
|
|
||||||
These keywords are reserved in Solidity. They might become part of the syntax in the future:
|
|
||||||
|
|
||||||
``after``, ``alias``, ``apply``, ``auto``, ``byte``, ``case``, ``copyof``, ``default``,
|
|
||||||
``define``, ``final``, ``implements``, ``in``, ``inline``, ``let``, ``macro``, ``match``,
|
|
||||||
``mutable``, ``null``, ``of``, ``partial``, ``promise``, ``reference``, ``relocatable``,
|
|
||||||
``sealed``, ``sizeof``, ``static``, ``supports``, ``switch``, ``typedef``, ``typeof``,
|
|
||||||
``var``.
|
|
||||||
|
@ -384,3 +384,14 @@ The following properties are available for an integer type ``T``:
|
|||||||
|
|
||||||
``type(T).max``
|
``type(T).max``
|
||||||
The largest value representable by type ``T``.
|
The largest value representable by type ``T``.
|
||||||
|
|
||||||
|
Reserved Keywords
|
||||||
|
=================
|
||||||
|
|
||||||
|
These keywords are reserved in Solidity. They might become part of the syntax in the future:
|
||||||
|
|
||||||
|
``after``, ``alias``, ``apply``, ``auto``, ``byte``, ``case``, ``copyof``, ``default``,
|
||||||
|
``define``, ``final``, ``implements``, ``in``, ``inline``, ``let``, ``macro``, ``match``,
|
||||||
|
``mutable``, ``null``, ``of``, ``partial``, ``promise``, ``reference``, ``relocatable``,
|
||||||
|
``sealed``, ``sizeof``, ``static``, ``supports``, ``switch``, ``typedef``, ``typeof``,
|
||||||
|
``var``.
|
Loading…
Reference in New Issue
Block a user