-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve links between individual constructs in internal representatio…
…n (issue #73) (#96) * Add TokenType and ExpressionType and put in separate files to allow import of symbol.h from literal.h * Solve #73 for rule names - renaming rule also renames all references to it * Each string reference was just string, now it is linked to string definition so renaming will be easier. * Remove ParserMode::Incomplete to be part of anothoer PR * Cleanup: Remove some asserts and printouts Co-authored-by: Tadeáš Kučera <tadeas.kucera@avast.com>
- Loading branch information
1 parent
ec37e9d
commit c98c014
Showing
21 changed files
with
596 additions
and
238 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* @file src/types/expression_type.h | ||
* @brief Declaration of class ExpressionType. | ||
* @copyright (c) 2017 Avast Software, licensed under the MIT license | ||
*/ | ||
|
||
#pragma once | ||
|
||
namespace yaramod { | ||
|
||
///< Type of the expression. | ||
enum class ExpressionType | ||
{ | ||
Undefined, | ||
Bool, | ||
Int, | ||
String, | ||
Regexp, | ||
Object, | ||
Float | ||
}; | ||
|
||
} |
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
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
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.