amazon-ion / ion-schema-rust

Rust implementation of Ion Schema
https://amazon-ion.github.io/ion-schema/sandbox
Apache License 2.0
12 stars 6 forks source link

adds implementation of `IslVariablyOccurringTypeRef` #179

Closed desaikd closed 1 year ago

desaikd commented 1 year ago

Issue #157:

Description of changes:

This PR works on adding a variably occurring type reference implementation which will be used by the schema model.

Grammar:

<VARIABLY_OCCURRING_TYPE_ARGUMENT> ::= { <OCCURS>, <CONSTRAINT>... }
                                     | <TYPE_ARGUMENT>

<OCCURS> ::= occurs: <INT>
           | occurs: <RANGE_INT>
           | occurs: optional
           | occurs: required

Ion Schema Specification:

https://amazon-ion.github.io/ion-schema/docs/isl-2-0/spec#variably-occurring-type-arguments

List of changes:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.