Skip to content

Commit

Permalink
fix: Updating the AST operator to provide full UVL operators support
Browse files Browse the repository at this point in the history
  • Loading branch information
jagalindo authored Oct 20, 2023
1 parent 43543f7 commit cf99d5e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions flamapy/core/models/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@ class ASTOperation(Enum):
IMPLIES = 'IMPLIES'
NOT = 'NOT'
EQUIVALENCE = 'EQUIVALENCE'
# Comparison operators
EQUALS = 'EQUALS'
LOWER = 'LOWER'
GREATER = 'GREATER'
LOWER_EQUALS = 'LOWER_EQUALS'
GREATER_EQUALS = 'GREATER_EQUALS'
NOT_EQUALS = 'NOT_EQUALS'
# Arithmetic operators
ADD = 'ADD'
SUB = 'SUB'
MUL = 'MUL'
DIV = 'DIV'
# Aggregation operators
SUM ='SUM'
AVG = 'AVG'
# Set operators
LEN = 'LEN'
# Numeric agregation operators
FLOOR = 'FLOOR'
CEIL = 'CEIL'


class Node:
Expand Down

0 comments on commit cf99d5e

Please sign in to comment.