| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
24
|
663
|
693
-
698
|
Select
|
io.github.scalaquest.core.model.behaviorBased.simple.impl.StateUtilsExt.StateUtils.state
|
|
StateUtils.this.state
|
|
33
|
664
|
911
-
935
|
Apply
|
scala.collection.SetOps.contains
|
|
StateUtils.this.state.bag.contains(item)
|
|
42
|
665
|
1190
-
1225
|
Apply
|
scala.collection.SetOps.contains
|
|
StateUtils.this.state.location.items(StateUtils.this.s).contains(item)
|
|
53
|
666
|
1567
-
1572
|
Select
|
io.github.scalaquest.core.model.behaviorBased.simple.impl.StateUtilsExt.StateUtils.state
|
|
StateUtils.this.state
|
|
53
|
667
|
1595
-
1614
|
Apply
|
io.github.scalaquest.core.model.behaviorBased.simple.impl.StateUtilsExt.StateUtils.isInBag
|
|
StateUtilsExt.this.StateUtils(StateUtils.this.state).isInBag(item)
|
|
53
|
668
|
1567
-
1614
|
Apply
|
scala.Boolean.||
|
|
StateUtilsExt.this.StateUtils(StateUtils.this.state).isInLocation(item).||(StateUtilsExt.this.StateUtils(StateUtils.this.state).isInBag(item))
|
|
62
|
669
|
1952
-
1952
|
Select
|
io.github.scalaquest.core.model.behaviorBased.simple.impl.StateUtilsExt.StateUtils.s
|
|
StateUtils.this.s
|
|
62
|
670
|
1929
-
1963
|
ApplyToImplicitArgs
|
io.github.scalaquest.core.model.Model.Room.neighbor
|
|
StateUtils.this.state.location.neighbor(direction)(StateUtils.this.s)
|
|
69
|
671
|
2193
-
2193
|
Select
|
io.github.scalaquest.core.model.behaviorBased.simple.impl.StateUtilsExt.StateUtils.s
|
|
StateUtils.this.s
|
|
69
|
672
|
2178
-
2198
|
ApplyToImplicitArgs
|
io.github.scalaquest.core.model.Model.Room.items
|
|
StateUtils.this.state.location.items(StateUtils.this.s)
|
|
79
|
673
|
2545
-
2561
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[io.github.scalaquest.core.model.ItemRef](item.ref).->[StateUtilsExt.this.I](item)
|
|
79
|
674
|
2540
-
2562
|
Apply
|
scala.collection.immutable.MapOps.+
|
|
x$1.+[StateUtilsExt.this.I](scala.Predef.ArrowAssoc[io.github.scalaquest.core.model.ItemRef](item.ref).->[StateUtilsExt.this.I](item))
|
|
79
|
675
|
2564
-
2569
|
Select
|
io.github.scalaquest.core.model.behaviorBased.simple.impl.StateUtilsExt.StateUtils.state
|
|
StateUtils.this.state
|
|
79
|
676
|
2523
-
2570
|
Apply
|
scala.Function1.apply
|
|
StateUtilsExt.this.itemsLens.modify(((x$1: Map[io.github.scalaquest.core.model.ItemRef,StateUtilsExt.this.I]) => x$1.+[StateUtilsExt.this.I](scala.Predef.ArrowAssoc[io.github.scalaquest.core.model.ItemRef](item.ref).->[StateUtilsExt.this.I](item)))).apply(StateUtils.this.state)
|
|
80
|
677
|
2627
-
2635
|
Select
|
io.github.scalaquest.core.model.Model.Item.ref
|
|
item.ref
|
|
80
|
678
|
2623
-
2635
|
Apply
|
scala.collection.immutable.SetOps.+
|
|
x$2.+(item.ref)
|
|
80
|
679
|
2637
-
2651
|
Select
|
io.github.scalaquest.core.model.Model.State.location
|
|
StateUtils.this.state.location
|
|
80
|
680
|
2602
-
2652
|
Apply
|
scala.Function1.apply
|
|
StateUtilsExt.this.roomItemsLens.modify(((x$2: Set[io.github.scalaquest.core.model.ItemRef]) => x$2.+(item.ref))).apply(StateUtils.this.state.location)
|
|
81
|
681
|
2659
-
2744
|
Apply
|
scala.Function1.apply
|
|
StateUtilsExt.this.roomsLens.modify(((x$3: Map[io.github.scalaquest.core.model.RoomRef,StateUtilsExt.this.RM]) => x$3.+[StateUtilsExt.this.RM](scala.Predef.ArrowAssoc[io.github.scalaquest.core.model.RoomRef](currRoomWithTarget.ref).->[StateUtilsExt.this.RM](currRoomWithTarget)))).apply(stateWithTarget)
|
|
92
|
682
|
3090
-
3106
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[io.github.scalaquest.core.model.ItemRef](item.ref).->[StateUtilsExt.this.I](item)
|
|
92
|
683
|
3085
-
3107
|
Apply
|
scala.collection.immutable.MapOps.+
|
|
x$4.+[StateUtilsExt.this.I](scala.Predef.ArrowAssoc[io.github.scalaquest.core.model.ItemRef](item.ref).->[StateUtilsExt.this.I](item))
|
|
92
|
684
|
3109
-
3114
|
Select
|
io.github.scalaquest.core.model.behaviorBased.simple.impl.StateUtilsExt.StateUtils.state
|
|
StateUtils.this.state
|
|
92
|
685
|
3068
-
3115
|
Apply
|
scala.Function1.apply
|
|
StateUtilsExt.this.itemsLens.modify(((x$4: Map[io.github.scalaquest.core.model.ItemRef,StateUtilsExt.this.I]) => x$4.+[StateUtilsExt.this.I](scala.Predef.ArrowAssoc[io.github.scalaquest.core.model.ItemRef](item.ref).->[StateUtilsExt.this.I](item)))).apply(StateUtils.this.state)
|
|
93
|
686
|
3122
-
3167
|
Apply
|
scala.Function1.apply
|
|
StateUtilsExt.this.bagLens.modify(((x$5: Set[io.github.scalaquest.core.model.ItemRef]) => x$5.+(item.ref))).apply(stateWithTarget)
|