Remove PatternGuard class

This commit is contained in:
Arthur Baars
2021-11-25 13:43:48 +01:00
parent dca1e34cd8
commit 8b0bc677f4
3 changed files with 41 additions and 94 deletions

View File

@@ -733,18 +733,16 @@ control/cases.rb:
# 31| getReceiver: [Self, SelfVariableAccess] self
# 32| getBranch/getInClause: [InClause] in ... then ...
# 32| getPattern: [LocalVariableAccess] x
# 32| getGuard: [UnlessGuard] unless ...
# 32| getCondition: [LTExpr] ... < ...
# 32| getAnOperand/getLeftOperand/getLesserOperand/getReceiver: [LocalVariableAccess] x
# 32| getAnOperand/getArgument/getGreaterOperand/getRightOperand: [IntegerLiteral] 0
# 32| getCondition: [LTExpr] ... < ...
# 32| getAnOperand/getLeftOperand/getLesserOperand/getReceiver: [LocalVariableAccess] x
# 32| getAnOperand/getArgument/getGreaterOperand/getRightOperand: [IntegerLiteral] 0
# 32| getBody: [StmtSequence] then ...
# 33| getStmt: [BooleanLiteral] true
# 34| getBranch/getInClause: [InClause] in ... then ...
# 34| getPattern: [LocalVariableAccess] x
# 34| getGuard: [IfGuard] if ...
# 34| getCondition: [LTExpr] ... < ...
# 34| getAnOperand/getLeftOperand/getLesserOperand/getReceiver: [LocalVariableAccess] x
# 34| getAnOperand/getArgument/getGreaterOperand/getRightOperand: [IntegerLiteral] 0
# 34| getCondition: [LTExpr] ... < ...
# 34| getAnOperand/getLeftOperand/getLesserOperand/getReceiver: [LocalVariableAccess] x
# 34| getAnOperand/getArgument/getGreaterOperand/getRightOperand: [IntegerLiteral] 0
# 34| getBody: [StmtSequence] then ...
# 35| getStmt: [BooleanLiteral] true
# 36| getBranch/getElseBranch: [StmtSequence] else ...