mirror of
https://github.com/danog/Valinor.git
synced 2024-11-26 20:24:40 +01:00
Add basic support for strict array tokens
This commit is contained in:
parent
752ad9d12e
commit
ce715b4467
@ -74,6 +74,7 @@ final class NativeLexer implements TypeLexer
|
|||||||
case 'integer':
|
case 'integer':
|
||||||
return IntegerToken::get();
|
return IntegerToken::get();
|
||||||
case 'array':
|
case 'array':
|
||||||
|
case 'strict-array':
|
||||||
return ArrayToken::array();
|
return ArrayToken::array();
|
||||||
case 'non-empty-array':
|
case 'non-empty-array':
|
||||||
return ArrayToken::nonEmptyArray();
|
return ArrayToken::nonEmptyArray();
|
||||||
|
Loading…
Reference in New Issue
Block a user