@@ -1687,12 +1687,6 @@ export class RecursiveAstVisitor implements StatementVisitor, ExpressionVisitor
16871687 visitWrappedNodeExpr ( ast : WrappedNodeExpr < any > , context : any ) : any {
16881688 return ast ;
16891689 }
1690- visitTypeofExpr ( ast : TypeofExpr , context : any ) : any {
1691- return this . visitExpression ( ast , context ) ;
1692- }
1693- visitVoidExpr ( ast : VoidExpr , context : any ) {
1694- return this . visitExpression ( ast , context ) ;
1695- }
16961690 visitReadVarExpr ( ast : ReadVarExpr , context : any ) : any {
16971691 return this . visitExpression ( ast , context ) ;
16981692 }
@@ -1770,6 +1764,14 @@ export class RecursiveAstVisitor implements StatementVisitor, ExpressionVisitor
17701764 ast . expr . visitExpression ( this , context ) ;
17711765 return this . visitExpression ( ast , context ) ;
17721766 }
1767+ visitTypeofExpr ( ast : TypeofExpr , context : any ) : any {
1768+ ast . expr . visitExpression ( this , context ) ;
1769+ return this . visitExpression ( ast , context ) ;
1770+ }
1771+ visitVoidExpr ( ast : VoidExpr , context : any ) {
1772+ ast . expr . visitExpression ( this , context ) ;
1773+ return this . visitExpression ( ast , context ) ;
1774+ }
17731775 visitBinaryOperatorExpr ( ast : BinaryOperatorExpr , context : any ) : any {
17741776 ast . lhs . visitExpression ( this , context ) ;
17751777 ast . rhs . visitExpression ( this , context ) ;
0 commit comments