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.
Track the starting and ending position of each token. (VirusTotal#53)
This opens the door for improving the AST in the future, storing the starting and ending position within the source code for each node in the AST. Also improves the way in the line number associated to each rule is computed, until know the line number for rule was the line number where the "rule" keyword was found, but now it takes in to account that a rule definition may start with some modifiers located some lines before the "rule" keyword.
- Loading branch information
Showing
5 changed files
with
589 additions
and
418 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.