mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Initial introduction of array slices with partial implementation for dynamic calldata arrays.
This commit is contained in:
@@ -86,6 +86,7 @@ Expression
|
||||
= Expression ('++' | '--')
|
||||
| NewExpression
|
||||
| IndexAccess
|
||||
| IndexRangeAccess
|
||||
| MemberAccess
|
||||
| FunctionCall
|
||||
| '(' Expression ')'
|
||||
@@ -123,6 +124,7 @@ FunctionCallArguments = '{' NameValueList? '}'
|
||||
NewExpression = 'new' TypeName
|
||||
MemberAccess = Expression '.' Identifier
|
||||
IndexAccess = Expression '[' Expression? ']'
|
||||
IndexRangeAccess = Expression '[' Expression? ':' Expression? ']'
|
||||
|
||||
BooleanLiteral = 'true' | 'false'
|
||||
NumberLiteral = ( HexNumber | DecimalNumber ) (' ' NumberUnit)?
|
||||
|
||||
Reference in New Issue
Block a user