|
|
|
|
@@ -170,7 +170,7 @@ calls/calls.rb:
|
|
|
|
|
# 106| getStmt: [CaseExpr] case ...
|
|
|
|
|
# 106| getValue: [MethodCall] call to foo
|
|
|
|
|
# 106| getReceiver: [Self, SelfVariableAccess] self
|
|
|
|
|
# 107| getBranch: [WhenExpr] when ...
|
|
|
|
|
# 107| getBranch/getWhenBranch: [WhenExpr] when ...
|
|
|
|
|
# 107| getPattern: [MethodCall] call to bar
|
|
|
|
|
# 107| getReceiver: [Self, SelfVariableAccess] self
|
|
|
|
|
# 107| getBody: [StmtSequence] then ...
|
|
|
|
|
@@ -179,7 +179,7 @@ calls/calls.rb:
|
|
|
|
|
# 110| getStmt: [CaseExpr] case ...
|
|
|
|
|
# 110| getValue: [MethodCall] call to foo
|
|
|
|
|
# 110| getReceiver: [ConstantReadAccess] X
|
|
|
|
|
# 111| getBranch: [WhenExpr] when ...
|
|
|
|
|
# 111| getBranch/getWhenBranch: [WhenExpr] when ...
|
|
|
|
|
# 111| getPattern: [MethodCall] call to bar
|
|
|
|
|
# 111| getReceiver: [ConstantReadAccess] X
|
|
|
|
|
# 111| getBody: [StmtSequence] then ...
|
|
|
|
|
@@ -689,36 +689,408 @@ control/cases.rb:
|
|
|
|
|
# 5| getAnOperand/getRightOperand: [IntegerLiteral] 0
|
|
|
|
|
# 8| getStmt: [CaseExpr] case ...
|
|
|
|
|
# 8| getValue: [LocalVariableAccess] a
|
|
|
|
|
# 9| getBranch: [WhenExpr] when ...
|
|
|
|
|
# 9| getBranch/getWhenBranch: [WhenExpr] when ...
|
|
|
|
|
# 9| getPattern: [LocalVariableAccess] b
|
|
|
|
|
# 9| getBody: [StmtSequence] then ...
|
|
|
|
|
# 10| getStmt: [IntegerLiteral] 100
|
|
|
|
|
# 11| getBranch: [WhenExpr] when ...
|
|
|
|
|
# 11| getBranch/getWhenBranch: [WhenExpr] when ...
|
|
|
|
|
# 11| getPattern: [LocalVariableAccess] c
|
|
|
|
|
# 11| getPattern: [LocalVariableAccess] d
|
|
|
|
|
# 11| getBody: [StmtSequence] then ...
|
|
|
|
|
# 12| getStmt: [IntegerLiteral] 200
|
|
|
|
|
# 13| getBranch: [StmtSequence] else ...
|
|
|
|
|
# 13| getBranch/getElseBranch: [StmtSequence] else ...
|
|
|
|
|
# 14| getStmt: [IntegerLiteral] 300
|
|
|
|
|
# 18| getStmt: [CaseExpr] case ...
|
|
|
|
|
# 19| getBranch: [WhenExpr] when ...
|
|
|
|
|
# 19| getBranch/getWhenBranch: [WhenExpr] when ...
|
|
|
|
|
# 19| getPattern: [GTExpr] ... > ...
|
|
|
|
|
# 19| getAnOperand/getGreaterOperand/getLeftOperand/getReceiver: [LocalVariableAccess] a
|
|
|
|
|
# 19| getAnOperand/getArgument/getLesserOperand/getRightOperand: [LocalVariableAccess] b
|
|
|
|
|
# 19| getBody: [StmtSequence] then ...
|
|
|
|
|
# 19| getStmt: [IntegerLiteral] 10
|
|
|
|
|
# 20| getBranch: [WhenExpr] when ...
|
|
|
|
|
# 20| getBranch/getWhenBranch: [WhenExpr] when ...
|
|
|
|
|
# 20| getPattern: [EqExpr] ... == ...
|
|
|
|
|
# 20| getAnOperand/getLeftOperand/getReceiver: [LocalVariableAccess] a
|
|
|
|
|
# 20| getAnOperand/getArgument/getRightOperand: [LocalVariableAccess] b
|
|
|
|
|
# 20| getBody: [StmtSequence] then ...
|
|
|
|
|
# 20| getStmt: [IntegerLiteral] 20
|
|
|
|
|
# 21| getBranch: [WhenExpr] when ...
|
|
|
|
|
# 21| getBranch/getWhenBranch: [WhenExpr] when ...
|
|
|
|
|
# 21| getPattern: [LTExpr] ... < ...
|
|
|
|
|
# 21| getAnOperand/getLeftOperand/getLesserOperand/getReceiver: [LocalVariableAccess] a
|
|
|
|
|
# 21| getAnOperand/getArgument/getGreaterOperand/getRightOperand: [LocalVariableAccess] b
|
|
|
|
|
# 21| getBody: [StmtSequence] then ...
|
|
|
|
|
# 21| getStmt: [IntegerLiteral] 30
|
|
|
|
|
# 26| getStmt: [CaseMatch] case ... in
|
|
|
|
|
# 26| getValue: [MethodCall] call to expr
|
|
|
|
|
# 26| getReceiver: [Self, SelfVariableAccess] self
|
|
|
|
|
# 27| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 27| getPattern: [IntegerLiteral] 5
|
|
|
|
|
# 27| getBody: [StmtSequence] then ...
|
|
|
|
|
# 27| getStmt: [BooleanLiteral] true
|
|
|
|
|
# 28| getBranch/getElseBranch: [StmtSequence] else ...
|
|
|
|
|
# 28| getStmt: [BooleanLiteral] false
|
|
|
|
|
# 31| getStmt: [CaseMatch] case ... in
|
|
|
|
|
# 31| getValue: [MethodCall] call to expr
|
|
|
|
|
# 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| 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| getBody: [StmtSequence] then ...
|
|
|
|
|
# 35| getStmt: [BooleanLiteral] true
|
|
|
|
|
# 36| getBranch/getElseBranch: [StmtSequence] else ...
|
|
|
|
|
# 36| getStmt: [BooleanLiteral] false
|
|
|
|
|
# 39| getStmt: [CaseMatch] case ... in
|
|
|
|
|
# 39| getValue: [MethodCall] call to expr
|
|
|
|
|
# 39| getReceiver: [Self, SelfVariableAccess] self
|
|
|
|
|
# 40| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 40| getPattern: [IntegerLiteral] 5
|
|
|
|
|
# 41| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 41| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 41| getPrefixElement/getSuffixElement: [IntegerLiteral] 5
|
|
|
|
|
# 42| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 42| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 42| getPrefixElement: [IntegerLiteral] 1
|
|
|
|
|
# 42| getPrefixElement: [IntegerLiteral] 2
|
|
|
|
|
# 43| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 43| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 43| getPrefixElement/getSuffixElement: [IntegerLiteral] 1
|
|
|
|
|
# 43| getPrefixElement/getSuffixElement: [IntegerLiteral] 2
|
|
|
|
|
# 44| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 44| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 44| getPrefixElement: [IntegerLiteral] 1
|
|
|
|
|
# 44| getPrefixElement: [IntegerLiteral] 2
|
|
|
|
|
# 44| getPrefixElement: [IntegerLiteral] 3
|
|
|
|
|
# 45| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 45| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 45| getPrefixElement/getSuffixElement: [IntegerLiteral] 1
|
|
|
|
|
# 45| getPrefixElement/getSuffixElement: [IntegerLiteral] 2
|
|
|
|
|
# 45| getPrefixElement/getSuffixElement: [IntegerLiteral] 3
|
|
|
|
|
# 46| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 46| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 46| getPrefixElement/getSuffixElement: [IntegerLiteral] 1
|
|
|
|
|
# 46| getPrefixElement/getSuffixElement: [IntegerLiteral] 2
|
|
|
|
|
# 46| getPrefixElement/getSuffixElement: [IntegerLiteral] 3
|
|
|
|
|
# 47| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 47| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 47| getPrefixElement/getSuffixElement: [IntegerLiteral] 1
|
|
|
|
|
# 47| getRestVariable: [LocalVariableAccess] x
|
|
|
|
|
# 47| getSuffixElement: [IntegerLiteral] 3
|
|
|
|
|
# 48| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 48| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 49| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 49| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 49| getSuffixElement: [IntegerLiteral] 3
|
|
|
|
|
# 49| getSuffixElement: [IntegerLiteral] 4
|
|
|
|
|
# 50| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 50| getPattern: [FindPattern] [ *,...,* ]
|
|
|
|
|
# 50| getElement: [IntegerLiteral] 3
|
|
|
|
|
# 51| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 51| getPattern: [FindPattern] [ *,...,* ]
|
|
|
|
|
# 51| getPrefix: [LocalVariableAccess] a
|
|
|
|
|
# 51| getElement: [IntegerLiteral] 3
|
|
|
|
|
# 51| getSuffix: [LocalVariableAccess] b
|
|
|
|
|
# 52| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 52| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 52| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 53| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 53| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 53| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 53| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 54| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 54| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 54| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 54| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 55| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 55| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 55| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 55| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 55| getKey: [SymbolLiteral] :b
|
|
|
|
|
# 56| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 56| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 56| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 56| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 56| getKey: [SymbolLiteral] :b
|
|
|
|
|
# 56| getRestVariable: [LocalVariableAccess] map
|
|
|
|
|
# 57| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 57| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 57| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 57| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 57| getKey: [SymbolLiteral] :b
|
|
|
|
|
# 58| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 58| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 59| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 59| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 59| getPrefixElement: [IntegerLiteral] 5
|
|
|
|
|
# 60| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 60| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 60| getPrefixElement/getSuffixElement: [IntegerLiteral] 5
|
|
|
|
|
# 61| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 61| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 61| getPrefixElement: [IntegerLiteral] 1
|
|
|
|
|
# 61| getPrefixElement: [IntegerLiteral] 2
|
|
|
|
|
# 62| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 62| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 62| getPrefixElement/getSuffixElement: [IntegerLiteral] 1
|
|
|
|
|
# 62| getPrefixElement/getSuffixElement: [IntegerLiteral] 2
|
|
|
|
|
# 63| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 63| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 63| getPrefixElement: [IntegerLiteral] 1
|
|
|
|
|
# 63| getPrefixElement: [IntegerLiteral] 2
|
|
|
|
|
# 63| getPrefixElement: [IntegerLiteral] 3
|
|
|
|
|
# 64| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 64| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 64| getPrefixElement/getSuffixElement: [IntegerLiteral] 1
|
|
|
|
|
# 64| getPrefixElement/getSuffixElement: [IntegerLiteral] 2
|
|
|
|
|
# 64| getPrefixElement/getSuffixElement: [IntegerLiteral] 3
|
|
|
|
|
# 65| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 65| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 65| getPrefixElement/getSuffixElement: [IntegerLiteral] 1
|
|
|
|
|
# 65| getPrefixElement/getSuffixElement: [IntegerLiteral] 2
|
|
|
|
|
# 65| getPrefixElement/getSuffixElement: [IntegerLiteral] 3
|
|
|
|
|
# 66| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 66| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 66| getPrefixElement/getSuffixElement: [IntegerLiteral] 1
|
|
|
|
|
# 66| getRestVariable: [LocalVariableAccess] x
|
|
|
|
|
# 66| getSuffixElement: [IntegerLiteral] 3
|
|
|
|
|
# 67| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 67| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 68| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 68| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 68| getSuffixElement: [IntegerLiteral] 3
|
|
|
|
|
# 68| getSuffixElement: [IntegerLiteral] 4
|
|
|
|
|
# 69| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 69| getPattern: [FindPattern] [ *,...,* ]
|
|
|
|
|
# 69| getElement: [IntegerLiteral] 3
|
|
|
|
|
# 70| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 70| getPattern: [FindPattern] [ *,...,* ]
|
|
|
|
|
# 70| getPrefix: [LocalVariableAccess] a
|
|
|
|
|
# 70| getElement: [IntegerLiteral] 3
|
|
|
|
|
# 70| getSuffix: [LocalVariableAccess] b
|
|
|
|
|
# 71| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 71| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 71| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 72| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 72| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 72| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 72| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 73| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 73| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 73| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 73| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 74| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 74| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 74| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 74| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 74| getKey: [SymbolLiteral] :b
|
|
|
|
|
# 75| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 75| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 75| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 75| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 75| getKey: [SymbolLiteral] :b
|
|
|
|
|
# 75| getRestVariable: [LocalVariableAccess] map
|
|
|
|
|
# 76| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 76| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 76| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 76| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 76| getKey: [SymbolLiteral] :b
|
|
|
|
|
# 77| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 77| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 78| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 78| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 79| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 79| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 84| getStmt: [AssignExpr] ... = ...
|
|
|
|
|
# 84| getAnOperand/getLeftOperand: [LocalVariableAccess] foo
|
|
|
|
|
# 84| getAnOperand/getRightOperand: [IntegerLiteral] 42
|
|
|
|
|
# 86| getStmt: [CaseMatch] case ... in
|
|
|
|
|
# 86| getValue: [MethodCall] call to expr
|
|
|
|
|
# 86| getReceiver: [Self, SelfVariableAccess] self
|
|
|
|
|
# 87| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 87| getPattern: [IntegerLiteral] 5
|
|
|
|
|
# 88| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 88| getPattern: [VariableReferencePattern] ^...
|
|
|
|
|
# 88| getVariableAccess: [LocalVariableAccess] foo
|
|
|
|
|
# 89| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 89| getPattern: [LocalVariableAccess] var
|
|
|
|
|
# 90| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 90| getPattern: [StringLiteral] "string"
|
|
|
|
|
# 90| getComponent: [StringTextComponent] string
|
|
|
|
|
# 91| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 91| getPattern: [ArrayLiteral] %w(...)
|
|
|
|
|
# 91| getElement: [StringLiteral] "foo"
|
|
|
|
|
# 91| getComponent: [StringTextComponent] foo
|
|
|
|
|
# 91| getElement: [StringLiteral] "bar"
|
|
|
|
|
# 91| getComponent: [StringTextComponent] bar
|
|
|
|
|
# 92| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 92| getPattern: [ArrayLiteral] %i(...)
|
|
|
|
|
# 92| getElement: [SymbolLiteral] :"foo"
|
|
|
|
|
# 92| getComponent: [StringTextComponent] foo
|
|
|
|
|
# 92| getElement: [SymbolLiteral] :"bar"
|
|
|
|
|
# 92| getComponent: [StringTextComponent] bar
|
|
|
|
|
# 93| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 93| getPattern: [RegExpLiteral] /.*abc[0-9]/
|
|
|
|
|
# 93| getParsed: [RegExpSequence] .*abc[0-9]
|
|
|
|
|
# 93| 0: [RegExpStar] .*
|
|
|
|
|
# 93| 0: [RegExpDot] .
|
|
|
|
|
# 93| 1: [RegExpConstant, RegExpNormalChar] a
|
|
|
|
|
# 93| 2: [RegExpConstant, RegExpNormalChar] b
|
|
|
|
|
# 93| 3: [RegExpConstant, RegExpNormalChar] c
|
|
|
|
|
# 93| 4: [RegExpCharacterClass] [0-9]
|
|
|
|
|
# 93| 0: [RegExpCharacterRange] 0-9
|
|
|
|
|
# 93| 0: [RegExpConstant, RegExpNormalChar] 0
|
|
|
|
|
# 93| 1: [RegExpConstant, RegExpNormalChar] 9
|
|
|
|
|
# 93| getComponent: [StringTextComponent] .*abc[0-9]
|
|
|
|
|
# 94| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 94| getPattern: [RangeLiteral] _ .. _
|
|
|
|
|
# 94| getBegin: [IntegerLiteral] 5
|
|
|
|
|
# 94| getEnd: [IntegerLiteral] 10
|
|
|
|
|
# 95| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 95| getPattern: [RangeLiteral] _ .. _
|
|
|
|
|
# 95| getEnd: [IntegerLiteral] 10
|
|
|
|
|
# 96| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 96| getPattern: [RangeLiteral] _ .. _
|
|
|
|
|
# 96| getBegin: [IntegerLiteral] 5
|
|
|
|
|
# 97| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 97| getPattern: [AsPattern] ... => ...
|
|
|
|
|
# 97| getValue: [IntegerLiteral] 5
|
|
|
|
|
# 97| getVariableAccess: [LocalVariableAccess] x
|
|
|
|
|
# 98| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 98| getPattern: [AlternativePattern] ... | ...
|
|
|
|
|
# 98| getAlternative: [IntegerLiteral] 5
|
|
|
|
|
# 98| getAlternative: [VariableReferencePattern] ^...
|
|
|
|
|
# 98| getVariableAccess: [LocalVariableAccess] foo
|
|
|
|
|
# 98| getAlternative: [LocalVariableAccess] var
|
|
|
|
|
# 98| getAlternative: [StringLiteral] "string"
|
|
|
|
|
# 98| getComponent: [StringTextComponent] string
|
|
|
|
|
# 99| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 99| getPattern: [ConstantReadAccess] Foo
|
|
|
|
|
# 100| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 100| getPattern: [ConstantReadAccess] Bar
|
|
|
|
|
# 100| getScopeExpr: [ConstantReadAccess] Foo
|
|
|
|
|
# 101| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 101| getPattern: [ConstantReadAccess] Bar
|
|
|
|
|
# 101| getScopeExpr: [ConstantReadAccess] Foo
|
|
|
|
|
# 102| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 102| getPattern: [AlternativePattern] ... | ...
|
|
|
|
|
# 102| getAlternative: [NilLiteral] nil
|
|
|
|
|
# 102| getAlternative: [Self, SelfVariableAccess] self
|
|
|
|
|
# 102| getAlternative: [BooleanLiteral] true
|
|
|
|
|
# 102| getAlternative: [BooleanLiteral] false
|
|
|
|
|
# 102| getAlternative: [LineLiteral] __LINE__
|
|
|
|
|
# 102| getAlternative: [FileLiteral] __FILE__
|
|
|
|
|
# 102| getAlternative: [EncodingLiteral] __ENCODING__
|
|
|
|
|
# 103| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 103| getPattern: [Lambda] -> { ... }
|
|
|
|
|
# 103| getParameter: [SimpleParameter] x
|
|
|
|
|
# 103| getDefiningAccess: [LocalVariableAccess] x
|
|
|
|
|
# 103| getStmt: [EqExpr] ... == ...
|
|
|
|
|
# 103| getAnOperand/getLeftOperand/getReceiver: [LocalVariableAccess] x
|
|
|
|
|
# 103| getAnOperand/getArgument/getRightOperand: [IntegerLiteral] 10
|
|
|
|
|
# 104| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 104| getPattern: [SymbolLiteral] :foo
|
|
|
|
|
# 105| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 105| getPattern: [SymbolLiteral] :"foo bar"
|
|
|
|
|
# 105| getComponent: [StringTextComponent] foo bar
|
|
|
|
|
# 106| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 106| getPattern: [AlternativePattern] ... | ...
|
|
|
|
|
# 106| getAlternative: [UnaryMinusExpr] - ...
|
|
|
|
|
# 106| getAnOperand/getOperand/getReceiver: [IntegerLiteral] 5
|
|
|
|
|
# 106| getAlternative: [UnaryPlusExpr] + ...
|
|
|
|
|
# 106| getAnOperand/getOperand/getReceiver: [IntegerLiteral] 10
|
|
|
|
|
# 111| getStmt: [CaseMatch] case ... in
|
|
|
|
|
# 111| getValue: [MethodCall] call to expr
|
|
|
|
|
# 111| getReceiver: [Self, SelfVariableAccess] self
|
|
|
|
|
# 112| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 112| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 113| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 113| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 113| getPrefixElement: [LocalVariableAccess] x
|
|
|
|
|
# 114| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 114| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 114| getPrefixElement/getSuffixElement: [LocalVariableAccess] x
|
|
|
|
|
# 115| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 115| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 115| getClass: [ConstantReadAccess] Bar
|
|
|
|
|
# 115| getScopeExpr: [ConstantReadAccess] Foo
|
|
|
|
|
# 116| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 116| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 116| getClass: [ConstantReadAccess] Foo
|
|
|
|
|
# 117| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 117| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 117| getClass: [ConstantReadAccess] Bar
|
|
|
|
|
# 118| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 118| getPattern: [ArrayPattern] [ ..., * ]
|
|
|
|
|
# 118| getClass: [ConstantReadAccess] Bar
|
|
|
|
|
# 118| getPrefixElement/getSuffixElement: [LocalVariableAccess] a
|
|
|
|
|
# 118| getPrefixElement/getSuffixElement: [LocalVariableAccess] b
|
|
|
|
|
# 118| getRestVariable: [LocalVariableAccess] c
|
|
|
|
|
# 118| getSuffixElement: [LocalVariableAccess] d
|
|
|
|
|
# 118| getSuffixElement: [LocalVariableAccess] e
|
|
|
|
|
# 123| getStmt: [CaseMatch] case ... in
|
|
|
|
|
# 123| getValue: [MethodCall] call to expr
|
|
|
|
|
# 123| getReceiver: [Self, SelfVariableAccess] self
|
|
|
|
|
# 124| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 124| getPattern: [FindPattern] [ *,...,* ]
|
|
|
|
|
# 124| getElement: [LocalVariableAccess] x
|
|
|
|
|
# 125| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 125| getPattern: [FindPattern] [ *,...,* ]
|
|
|
|
|
# 125| getPrefix: [LocalVariableAccess] x
|
|
|
|
|
# 125| getElement: [IntegerLiteral] 1
|
|
|
|
|
# 125| getElement: [IntegerLiteral] 2
|
|
|
|
|
# 125| getSuffix: [LocalVariableAccess] y
|
|
|
|
|
# 126| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 126| getPattern: [FindPattern] [ *,...,* ]
|
|
|
|
|
# 126| getClass: [ConstantReadAccess] Bar
|
|
|
|
|
# 126| getScopeExpr: [ConstantReadAccess] Foo
|
|
|
|
|
# 126| getElement: [IntegerLiteral] 1
|
|
|
|
|
# 127| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 127| getPattern: [FindPattern] [ *,...,* ]
|
|
|
|
|
# 127| getClass: [ConstantReadAccess] Foo
|
|
|
|
|
# 127| getElement: [ConstantReadAccess] Bar
|
|
|
|
|
# 132| getStmt: [CaseMatch] case ... in
|
|
|
|
|
# 132| getValue: [MethodCall] call to expr
|
|
|
|
|
# 132| getReceiver: [Self, SelfVariableAccess] self
|
|
|
|
|
# 133| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 133| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 134| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 134| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 134| getKey: [SymbolLiteral] :x
|
|
|
|
|
# 135| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 135| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 135| getClass: [ConstantReadAccess] Bar
|
|
|
|
|
# 135| getScopeExpr: [ConstantReadAccess] Foo
|
|
|
|
|
# 135| getKey: [SymbolLiteral] :x
|
|
|
|
|
# 135| getValue: [IntegerLiteral] 1
|
|
|
|
|
# 136| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 136| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 136| getClass: [ConstantReadAccess] Bar
|
|
|
|
|
# 136| getScopeExpr: [ConstantReadAccess] Foo
|
|
|
|
|
# 136| getKey: [SymbolLiteral] :x
|
|
|
|
|
# 136| getValue: [IntegerLiteral] 1
|
|
|
|
|
# 136| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 136| getRestVariable: [LocalVariableAccess] rest
|
|
|
|
|
# 137| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 137| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 137| getClass: [ConstantReadAccess] Foo
|
|
|
|
|
# 137| getKey: [SymbolLiteral] :y
|
|
|
|
|
# 138| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 138| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 138| getClass: [ConstantReadAccess] Bar
|
|
|
|
|
# 139| getBranch/getInClause: [InClause] in ... then ...
|
|
|
|
|
# 139| getPattern: [HashPattern] { ..., ** }
|
|
|
|
|
# 139| getClass: [ConstantReadAccess] Bar
|
|
|
|
|
# 139| getKey: [SymbolLiteral] :a
|
|
|
|
|
# 139| getValue: [IntegerLiteral] 1
|
|
|
|
|
modules/classes.rb:
|
|
|
|
|
# 2| [Toplevel] classes.rb
|
|
|
|
|
# 3| getStmt: [ClassDeclaration] Foo
|
|
|
|
|
|