-- Initialize_Scalars and Normalize_Scalars.
-- Of_Present (Flag16)
- -- Present in N_Iterastor_Specification nodes, to mark the Ada2012 iterator
+ -- Present in N_Iterator_Specification nodes, to mark the Ada 2012 iterator
-- form over arrays and containers.
-- Original_Discriminant (Node2-Sem)
---------------------------------
-- QUANTIFIED_EXPRESSION ::=
- -- for QUANTIFIER LOOP_PARAMETER_SPECIFICATION => PREDICATE |
- -- for QUANTIFIER ITERATOR_SPECIFICATION => PREDICATE
+ -- for QUANTIFIER LOOP_PARAMETER_SPECIFICATION => PREDICATE
+ -- | for QUANTIFIER ITERATOR_SPECIFICATION => PREDICATE
--
-- QUANTIFIER ::= all | some
+ -- At most one of (Iterator_Specification, Loop_Parameter_Specification)
+ -- is present at a time, in which case the other one is empty.
+
-- N_Quantified_Expression
-- Sloc points to FOR
- -- Iterator_Specification (Node2) (set to Empty if not Present)
+ -- Iterator_Specification (Node2)
-- Loop_Parameter_Specification (Node4)
-- Condition (Node1)
-- All_Present (Flag15)
--------------------------
-- ITERATION_SCHEME ::=
- -- while CONDITION | for LOOP_PARAMETER_SPECIFICATION |
- -- for ITERATOR_SPECIFICATION
+ -- while CONDITION
+ -- | for LOOP_PARAMETER_SPECIFICATION
+ -- | for ITERATOR_SPECIFICATION
- -- Only one of (Iterator_Specification, Loop_Parameter_Specification)
- -- is present at a time, the other one is empty.
+ -- At most one of (Iterator_Specification, Loop_Parameter_Specification)
+ -- is present at a time, in which case the other one is empty. Both are
+ -- empty in the case of a WHILE loop.
-- Gigi restriction: This expander ensures that the type of the
-- Condition field is always Standard.Boolean, even if the type
-- Sloc points to WHILE or FOR
-- Condition (Node1) (set to Empty if FOR case)
-- Condition_Actions (List3-Sem)
- -- Iterator_Specification (Node2) (set to Empty if not Present)
+ -- Iterator_Specification (Node2) (set to Empty if WHILE case)
-- Loop_Parameter_Specification (Node4) (set to Empty if WHILE case)
---------------------------------------
-- ITERATOR_SPECIFICATION ::=
-- DEFINING_IDENTIFIER in [reverse] NAME
- -- DEFINING_IDENTIFIER [: SUBTYPE_INDICATION] of [reverse] NAME
+ -- | DEFINING_IDENTIFIER [: SUBTYPE_INDICATION] of [reverse] NAME
-- N_Iterator_Specification
-- Sloc points to defining identifier