Shape Types
array{
a: first,
b: second
}
warning
The use of explicit and implicit keys in one shape is not allowed and causes an exception during parsing.
array{ named: first, second }
An error similar to the one below should occur.
ParseException: Cannot mix numeric and named keys.
warning
Support for other types of keys, such as const mask (
Class::CONST_*
) is not currently available.array{ Class::CONST_*: string, ... }
An error similar to the one below should occur.
ParseException: Syntax error, unexpected ":"