You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| SIZE _-> raise(SemanticError(acnErrLoc,"Acn property 'size' cannot be applied to NULL types"))
587
+
| ENCODING _-> raise(SemanticError(acnErrLoc,"Acn property 'encoding' cannot be applied to NULL types"))
588
+
| ALIGNTONEXT _->()
589
+
| ENCODE_VALUES -> raise(SemanticError(acnErrLoc,"Acn property 'encode-values' cannot be applied to NULL types"))
590
+
| SAVE_POSITION ->()
591
+
| PRESENT_WHEN _->()
592
+
| PRESENT_WHEN_EXP _->()
593
+
| TRUE_VALUE _-> raise(SemanticError(acnErrLoc,"Acn property 'true-value' cannot be applied to NULL types"))
594
+
| FALSE_VALUE _-> raise(SemanticError(acnErrLoc,"Acn property 'false-value' cannot be applied to NULL types"))
595
+
| PATTERN _->()
596
+
| CHOICE_DETERMINANT _-> raise(SemanticError(acnErrLoc,"Acn property 'choice-determinant' cannot be applied to NULL types"))
597
+
| ENDIANNESS _-> raise(SemanticError(acnErrLoc,"Acn property 'endianness' cannot be applied to NULL types"))
598
+
| ENUM_SET_VALUE _-> raise(SemanticError(acnErrLoc,"Acn property 'enum-set-value' cannot be applied to NULL types"))
599
+
| TERMINATION_PATTERN _-> raise(SemanticError(acnErrLoc,"Acn property 'termination-pattern' cannot be applied to NULL types"))
600
+
| MAPPING_FUNCTION _->()
601
+
| POST_ENCODING_FUNCTION _->()
602
+
| PRE_DECODING_FUNCTION _->())
603
+
604
+
605
+
581
606
letacnProperties=
582
607
match acnErrLoc with
583
-
| Some acnErrLoc ->{ NullTypeAcnProperties.encodingPattern = tryGetProp props (fun x ->match x with PATTERN e -> Some e |_-> None); savePosition = props |> Seq.exists(fun z ->match z with SAVE_POSITION ->true|_->false)}
608
+
| Some acnErrLoc ->
609
+
checkInvalidProperties acnErrLoc props
610
+
{ NullTypeAcnProperties.encodingPattern = tryGetProp props (fun x ->match x with PATTERN e -> Some e |_-> None); savePosition = props |> Seq.exists(fun z ->match z with SAVE_POSITION ->true|_->false)}
0 commit comments