@@ -15,23 +15,23 @@ use super::{
15
15
Result ,
16
16
} ;
17
17
use crate :: {
18
- ast:: {
19
- list_from_iter, AccessControl , AliasDeclStmt , AngleType , Annotation , ArrayBaseTypeKind ,
20
- ArrayReferenceType , ArrayType , ArrayTypedParameter , AssignOpStmt , AssignStmt , BarrierStmt ,
21
- BitType , Block , BoxStmt , BreakStmt , CalibrationGrammarStmt , CalibrationStmt , Cast ,
22
- ClassicalDeclarationStmt , ComplexType , ConstantDeclStmt , ContinueStmt , DefCalStmt , DefStmt ,
23
- DelayStmt , EndStmt , EnumerableSet , Expr , ExprKind , ExprStmt , ExternDecl , ExternParameter ,
24
- FloatType , ForStmt , FunctionCall , GPhase , GateCall , GateModifierKind , GateOperand ,
25
- IODeclaration , IOKeyword , Ident , Identifier , IfStmt , IncludeStmt , IndexElement , IndexExpr ,
26
- IndexSetItem , IndexedIdent , IntType , List , LiteralKind , MeasureStmt , Pragma ,
27
- QuantumGateDefinition , QuantumGateModifier , QuantumTypedParameter , QubitDeclaration ,
28
- RangeDefinition , ResetStmt , ReturnStmt , ScalarType , ScalarTypeKind , ScalarTypedParameter ,
29
- Stmt , StmtKind , SwitchCase , SwitchStmt , TypeDef , TypedParameter , UIntType , WhileLoop ,
30
- } ,
31
18
keyword:: Keyword ,
32
19
lex:: { cooked:: Type , Delim , TokenKind } ,
33
20
} ;
34
21
22
+ use super :: ast:: {
23
+ list_from_iter, AccessControl , AliasDeclStmt , AngleType , Annotation , ArrayBaseTypeKind ,
24
+ ArrayReferenceType , ArrayType , ArrayTypedParameter , AssignOpStmt , AssignStmt , BarrierStmt ,
25
+ BitType , Block , BoxStmt , BreakStmt , CalibrationGrammarStmt , CalibrationStmt , Cast ,
26
+ ClassicalDeclarationStmt , ComplexType , ConstantDeclStmt , ContinueStmt , DefCalStmt , DefStmt ,
27
+ DelayStmt , EndStmt , EnumerableSet , Expr , ExprKind , ExprStmt , ExternDecl , ExternParameter ,
28
+ FloatType , ForStmt , FunctionCall , GPhase , GateCall , GateModifierKind , GateOperand ,
29
+ IODeclaration , IOKeyword , Ident , Identifier , IfStmt , IncludeStmt , IndexElement , IndexExpr ,
30
+ IndexSetItem , IndexedIdent , IntType , List , LiteralKind , MeasureStmt , Pragma ,
31
+ QuantumGateDefinition , QuantumGateModifier , QuantumTypedParameter , QubitDeclaration ,
32
+ RangeDefinition , ResetStmt , ReturnStmt , ScalarType , ScalarTypeKind , ScalarTypedParameter , Stmt ,
33
+ StmtKind , SwitchCase , SwitchStmt , TypeDef , TypedParameter , UIntType , WhileLoop ,
34
+ } ;
35
35
use super :: { prim:: token, ParserContext } ;
36
36
37
37
/// Our implementation differs slightly from the grammar in
0 commit comments