class Cucumber::BooleanExpressionParser
- Cucumber::BooleanExpressionParser
- Reference
- Object
Defined in:
cucumber/boolean_expression_parser.crConstant Summary
-
ASSOC =
{"or" => "left", "and" => "left", "not" => "right"}
-
PREC =
{"(" => -2, ")" => -1, "or" => 0, "and" => 1, "not" => 2}
Constructors
Instance Method Summary
- #expression_stack : Array(Cucumber::BooleanExpression?)
- #infix : String
- #infix_to_tokens
- #is_op(token)
- #operations : Array(String | Symbol | Nil)
- #parse(infix : String)
- #peek
- #pop(arr : Array(Operation | Nil | Cucumber::BooleanExpression | Nil))
- #push_expr(token : String | Symbol | Nil) : Stack | Nil
- #reset