@@ -7520,6 +7520,190 @@ export class UsingEnumDeclarationAST extends DeclarationAST {
7520
7520
}
7521
7521
}
7522
7522
7523
+ /**
7524
+ * AsmOperandAST node.
7525
+ */
7526
+ export class AsmOperandAST extends DeclarationAST {
7527
+ /**
7528
+ * Traverse this node using the given visitor.
7529
+ * @param visitor the visitor.
7530
+ * @param context the context.
7531
+ * @returns the result of the visit.
7532
+ */
7533
+ accept < Context , Result > (
7534
+ visitor : ASTVisitor < Context , Result > ,
7535
+ context : Context ,
7536
+ ) : Result {
7537
+ return visitor . visitAsmOperand ( this , context ) ;
7538
+ }
7539
+
7540
+ /**
7541
+ * Returns the location of the lbracket token in this node
7542
+ */
7543
+ getLbracketToken ( ) : Token | undefined {
7544
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 0 ) , this . parser ) ;
7545
+ }
7546
+
7547
+ /**
7548
+ * Returns the location of the symbolicName token in this node
7549
+ */
7550
+ getSymbolicNameToken ( ) : Token | undefined {
7551
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 1 ) , this . parser ) ;
7552
+ }
7553
+
7554
+ /**
7555
+ * Returns the location of the rbracket token in this node
7556
+ */
7557
+ getRbracketToken ( ) : Token | undefined {
7558
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 2 ) , this . parser ) ;
7559
+ }
7560
+
7561
+ /**
7562
+ * Returns the location of the constraintLiteral token in this node
7563
+ */
7564
+ getConstraintLiteralToken ( ) : Token | undefined {
7565
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 3 ) , this . parser ) ;
7566
+ }
7567
+
7568
+ /**
7569
+ * Returns the location of the lparen token in this node
7570
+ */
7571
+ getLparenToken ( ) : Token | undefined {
7572
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 4 ) , this . parser ) ;
7573
+ }
7574
+
7575
+ /**
7576
+ * Returns the expression of this node
7577
+ */
7578
+ getExpression ( ) : ExpressionAST | undefined {
7579
+ return AST . from < ExpressionAST > (
7580
+ cxx . getASTSlot ( this . getHandle ( ) , 5 ) ,
7581
+ this . parser ,
7582
+ ) ;
7583
+ }
7584
+
7585
+ /**
7586
+ * Returns the location of the rparen token in this node
7587
+ */
7588
+ getRparenToken ( ) : Token | undefined {
7589
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 6 ) , this . parser ) ;
7590
+ }
7591
+
7592
+ /**
7593
+ * Returns the symbolicName attribute of this node
7594
+ */
7595
+ getSymbolicName ( ) : string | undefined {
7596
+ const slot = cxx . getASTSlot ( this . getHandle ( ) , 7 ) ;
7597
+ return cxx . getIdentifierValue ( slot ) ;
7598
+ }
7599
+
7600
+ /**
7601
+ * Returns the constraintLiteral attribute of this node
7602
+ */
7603
+ getConstraintLiteral ( ) : string | undefined {
7604
+ const slot = cxx . getASTSlot ( this . getHandle ( ) , 8 ) ;
7605
+ return cxx . getLiteralValue ( slot ) ;
7606
+ }
7607
+ }
7608
+
7609
+ /**
7610
+ * AsmQualifierAST node.
7611
+ */
7612
+ export class AsmQualifierAST extends DeclarationAST {
7613
+ /**
7614
+ * Traverse this node using the given visitor.
7615
+ * @param visitor the visitor.
7616
+ * @param context the context.
7617
+ * @returns the result of the visit.
7618
+ */
7619
+ accept < Context , Result > (
7620
+ visitor : ASTVisitor < Context , Result > ,
7621
+ context : Context ,
7622
+ ) : Result {
7623
+ return visitor . visitAsmQualifier ( this , context ) ;
7624
+ }
7625
+
7626
+ /**
7627
+ * Returns the location of the qualifier token in this node
7628
+ */
7629
+ getQualifierToken ( ) : Token | undefined {
7630
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 0 ) , this . parser ) ;
7631
+ }
7632
+
7633
+ /**
7634
+ * Returns the qualifier attribute of this node
7635
+ */
7636
+ getQualifier ( ) : TokenKind {
7637
+ return cxx . getASTSlot ( this . getHandle ( ) , 1 ) ;
7638
+ }
7639
+ }
7640
+
7641
+ /**
7642
+ * AsmClobberAST node.
7643
+ */
7644
+ export class AsmClobberAST extends DeclarationAST {
7645
+ /**
7646
+ * Traverse this node using the given visitor.
7647
+ * @param visitor the visitor.
7648
+ * @param context the context.
7649
+ * @returns the result of the visit.
7650
+ */
7651
+ accept < Context , Result > (
7652
+ visitor : ASTVisitor < Context , Result > ,
7653
+ context : Context ,
7654
+ ) : Result {
7655
+ return visitor . visitAsmClobber ( this , context ) ;
7656
+ }
7657
+
7658
+ /**
7659
+ * Returns the location of the literal token in this node
7660
+ */
7661
+ getLiteralToken ( ) : Token | undefined {
7662
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 0 ) , this . parser ) ;
7663
+ }
7664
+
7665
+ /**
7666
+ * Returns the literal attribute of this node
7667
+ */
7668
+ getLiteral ( ) : string | undefined {
7669
+ const slot = cxx . getASTSlot ( this . getHandle ( ) , 1 ) ;
7670
+ return cxx . getLiteralValue ( slot ) ;
7671
+ }
7672
+ }
7673
+
7674
+ /**
7675
+ * AsmGotoLabelAST node.
7676
+ */
7677
+ export class AsmGotoLabelAST extends DeclarationAST {
7678
+ /**
7679
+ * Traverse this node using the given visitor.
7680
+ * @param visitor the visitor.
7681
+ * @param context the context.
7682
+ * @returns the result of the visit.
7683
+ */
7684
+ accept < Context , Result > (
7685
+ visitor : ASTVisitor < Context , Result > ,
7686
+ context : Context ,
7687
+ ) : Result {
7688
+ return visitor . visitAsmGotoLabel ( this , context ) ;
7689
+ }
7690
+
7691
+ /**
7692
+ * Returns the location of the identifier token in this node
7693
+ */
7694
+ getIdentifierToken ( ) : Token | undefined {
7695
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 0 ) , this . parser ) ;
7696
+ }
7697
+
7698
+ /**
7699
+ * Returns the identifier attribute of this node
7700
+ */
7701
+ getIdentifier ( ) : string | undefined {
7702
+ const slot = cxx . getASTSlot ( this . getHandle ( ) , 1 ) ;
7703
+ return cxx . getIdentifierValue ( slot ) ;
7704
+ }
7705
+ }
7706
+
7523
7707
/**
7524
7708
* AsmDeclarationAST node.
7525
7709
*/
@@ -7550,46 +7734,111 @@ export class AsmDeclarationAST extends DeclarationAST {
7550
7734
}
7551
7735
}
7552
7736
7737
+ /**
7738
+ * Returns the asmQualifierList of this node
7739
+ */
7740
+ * getAsmQualifierList ( ) : Generator < AsmQualifierAST | undefined > {
7741
+ for (
7742
+ let it = cxx . getASTSlot ( this . getHandle ( ) , 1 ) ;
7743
+ it ;
7744
+ it = cxx . getListNext ( it )
7745
+ ) {
7746
+ yield AST . from < AsmQualifierAST > ( cxx . getListValue ( it ) , this . parser ) ;
7747
+ }
7748
+ }
7749
+
7553
7750
/**
7554
7751
* Returns the location of the asm token in this node
7555
7752
*/
7556
7753
getAsmToken ( ) : Token | undefined {
7557
- return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 1 ) , this . parser ) ;
7754
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 2 ) , this . parser ) ;
7558
7755
}
7559
7756
7560
7757
/**
7561
7758
* Returns the location of the lparen token in this node
7562
7759
*/
7563
7760
getLparenToken ( ) : Token | undefined {
7564
- return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 2 ) , this . parser ) ;
7761
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 3 ) , this . parser ) ;
7565
7762
}
7566
7763
7567
7764
/**
7568
7765
* Returns the location of the literal token in this node
7569
7766
*/
7570
7767
getLiteralToken ( ) : Token | undefined {
7571
- return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 3 ) , this . parser ) ;
7768
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 4 ) , this . parser ) ;
7769
+ }
7770
+
7771
+ /**
7772
+ * Returns the outputOperandList of this node
7773
+ */
7774
+ * getOutputOperandList ( ) : Generator < AsmOperandAST | undefined > {
7775
+ for (
7776
+ let it = cxx . getASTSlot ( this . getHandle ( ) , 5 ) ;
7777
+ it ;
7778
+ it = cxx . getListNext ( it )
7779
+ ) {
7780
+ yield AST . from < AsmOperandAST > ( cxx . getListValue ( it ) , this . parser ) ;
7781
+ }
7782
+ }
7783
+
7784
+ /**
7785
+ * Returns the inputOperandList of this node
7786
+ */
7787
+ * getInputOperandList ( ) : Generator < AsmOperandAST | undefined > {
7788
+ for (
7789
+ let it = cxx . getASTSlot ( this . getHandle ( ) , 6 ) ;
7790
+ it ;
7791
+ it = cxx . getListNext ( it )
7792
+ ) {
7793
+ yield AST . from < AsmOperandAST > ( cxx . getListValue ( it ) , this . parser ) ;
7794
+ }
7795
+ }
7796
+
7797
+ /**
7798
+ * Returns the clobberList of this node
7799
+ */
7800
+ * getClobberList ( ) : Generator < AsmClobberAST | undefined > {
7801
+ for (
7802
+ let it = cxx . getASTSlot ( this . getHandle ( ) , 7 ) ;
7803
+ it ;
7804
+ it = cxx . getListNext ( it )
7805
+ ) {
7806
+ yield AST . from < AsmClobberAST > ( cxx . getListValue ( it ) , this . parser ) ;
7807
+ }
7808
+ }
7809
+
7810
+ /**
7811
+ * Returns the gotoLabelList of this node
7812
+ */
7813
+ * getGotoLabelList ( ) : Generator < AsmGotoLabelAST | undefined > {
7814
+ for (
7815
+ let it = cxx . getASTSlot ( this . getHandle ( ) , 8 ) ;
7816
+ it ;
7817
+ it = cxx . getListNext ( it )
7818
+ ) {
7819
+ yield AST . from < AsmGotoLabelAST > ( cxx . getListValue ( it ) , this . parser ) ;
7820
+ }
7572
7821
}
7573
7822
7574
7823
/**
7575
7824
* Returns the location of the rparen token in this node
7576
7825
*/
7577
7826
getRparenToken ( ) : Token | undefined {
7578
- return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 4 ) , this . parser ) ;
7827
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 9 ) , this . parser ) ;
7579
7828
}
7580
7829
7581
7830
/**
7582
7831
* Returns the location of the semicolon token in this node
7583
7832
*/
7584
7833
getSemicolonToken ( ) : Token | undefined {
7585
- return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 5 ) , this . parser ) ;
7834
+ return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 10 ) , this . parser ) ;
7586
7835
}
7587
7836
7588
7837
/**
7589
7838
* Returns the literal attribute of this node
7590
7839
*/
7591
7840
getLiteral ( ) : string | undefined {
7592
- const slot = cxx . getASTSlot ( this . getHandle ( ) , 6 ) ;
7841
+ const slot = cxx . getASTSlot ( this . getHandle ( ) , 11 ) ;
7593
7842
return cxx . getLiteralValue ( slot ) ;
7594
7843
}
7595
7844
}
@@ -10934,6 +11183,10 @@ const AST_CONSTRUCTORS: Array<
10934
11183
UsingDirectiveAST ,
10935
11184
UsingDeclarationAST ,
10936
11185
UsingEnumDeclarationAST ,
11186
+ AsmOperandAST ,
11187
+ AsmQualifierAST ,
11188
+ AsmClobberAST ,
11189
+ AsmGotoLabelAST ,
10937
11190
AsmDeclarationAST ,
10938
11191
ExportDeclarationAST ,
10939
11192
ExportCompoundDeclarationAST ,
0 commit comments