package util
- Alphabetic
- By Inheritance
- util
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def containsInPrefix(worklist: List[Int], pc: Int, prefixEnd: Int): Boolean
Tests if the given
pcis found in the (optional) prefix of theworklistwhere the end of the prefix is identified byprefixEnd.Tests if the given
pcis found in the (optional) prefix of theworklistwhere the end of the prefix is identified byprefixEnd.If the worklist is empty, false is returned. If the given
pcis equal toprefixEndtruewill be returned.- Annotations
- @inline() @tailrec()
- final def insertBefore(worklist: List[Int], pc: Int, prefixEnd: Int): List[Int]
Inserts the given
pcbeforeprefixEndin the list.Inserts the given
pcbeforeprefixEndin the list. If the list does not containprefixEnd,pcis appended to the list.- Annotations
- @inline()
- final def insertBeforeIfNew(worklist: List[Int], pc: Int, prefixEnd: Int): List[Int]
Inserts the given
pcbeforeprefixEndin the list unlesspcis already contained in the list.Inserts the given
pcbeforeprefixEndin the list unlesspcis already contained in the list. If the list does not containprefixEnd,pcis appended to the list. If the list already containspcthe original list is returned!- Annotations
- @inline()
- final def removeFirst(worklist: List[Int], pc: Int): List[Int]
Removes the first occurrence of the specified pc from the list.
Removes the first occurrence of the specified pc from the list. If the pc is not found, the original list is returned. I.e., it is possible to check whether the list is modified or not using a reference comparison (
eq).- Annotations
- @inline()
- final def removeFirstUnless(worklist: List[Int], pc: Int)(test: (Int) => Boolean): List[Int]
Removes the first occurrence of the specified program counter from the given list unless the given
testhas failed.Removes the first occurrence of the specified program counter from the given list unless the given
testhas failed. If the test fails, the 'original list is returned. The given test is executed before the test is made whether we have to remove the element from the list. If the original list is returned it is possible to check whether the list is modified or not using a reference comparison (eq).- Annotations
- @inline()
- object XHTML
Several utility methods to facilitate the development of the abstract interpreter/ new domains for the abstract interpreter, by creating various kinds of dumps of the state of the interpreter.
Several utility methods to facilitate the development of the abstract interpreter/ new domains for the abstract interpreter, by creating various kinds of dumps of the state of the interpreter.
Thread Safety
This object is thread-safe.