[refactoring] update ast structure of "Throw" node

This commit is contained in:
Vadym Slizov
2020-09-17 16:37:34 +03:00
parent 80aa328386
commit 48aaa7cc47
7 changed files with 987 additions and 996 deletions

View File

@@ -260,3 +260,8 @@ func (v *FilterTokens) StmtFinally(n *ast.StmtFinally) {
n.OpenCurlyBracketTkn = nil
n.CloseCurlyBracketTkn = nil
}
func (v *FilterTokens) StmtThrow(n *ast.StmtThrow) {
n.ThrowTkn = nil
n.SemiColonTkn = nil
}