fun nextNode()

in reactor/Core/src/jetbrains/mps/logic/reactor/core/internal/ReteRuleMatcherImpl.kt [257:262]


            fun nextNode(it: MutableIterator<ReteNode>): ReteNode? {
                if (!it.hasNext()) {
                    prime()
                }
                return if(it.hasNext()) it.next() else null
            }