Add not-in: operator (#1661)

This commit is contained in:
Jonathan Turner
2020-04-26 17:32:17 +12:00
committed by GitHub
parent ad8ab5b04d
commit ad7a3fd908
5 changed files with 36 additions and 1 deletions

View File

@ -247,6 +247,8 @@ fn parse_operator(lite_arg: &Spanned<String>) -> (SpannedExpression, Option<Pars
Operator::Divide
} else if lite_arg.item == "in:" {
Operator::In
} else if lite_arg.item == "not-in:" {
Operator::NotIn
} else if lite_arg.item == "&&" {
Operator::And
} else if lite_arg.item == "||" {