forked from VirusTotal/gyp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address multiple issues with AST traversal. (VirusTotal#51)
* This commit address multiple issues with AST traversal. * Removes the `Quantifier` type, which is not really required and only adds an additional level in AST trees. * Removes `pb/traversal.go` which is the legacy AST traversal code, based in protobuf. * Force all AST expression types to explicitly implement the Expression interface by removing embedded structs. * Always return nil when the node has no children, never an empty list.
- Loading branch information
Showing
6 changed files
with
553 additions
and
794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.