class CycleDetection extends Translator[Specification]
Sort the definition in reverse topographical order ignoring the edges of a last's first operand and both operands of a delayed last (so each stream will appear before any stream that uses it in the same timestamp) and produce an error for any recursion that does not go through a last.
The reverse topological sort will be useful for code generation strategies that put the actions within one time stamp in a linear order. The errors for lastless recursions are useful because any recursion without last would cause an infinite loop in the interpreter (and either an infinite loop or an error during codegen in other backends).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CycleDetection
- Translator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CycleDetection(spec: Specification)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
abort(): Nothing
- Attributes
- protected
- Definition Classes
- Translator
-
def
abortOnError(): Unit
- Attributes
- protected
- Definition Classes
- Translator
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(error: TesslaError): Unit
- Attributes
- protected
- Definition Classes
- Translator
-
val
errors: ArrayBuffer[TesslaError]
- Attributes
- protected
- Definition Classes
- Translator
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
translate(): Result[Specification]
- Definition Classes
- Translator
-
def
translateSpec(): Specification
- Definition Classes
- CycleDetection → Translator
-
def
tryWithDefault[R](default: ⇒ R)(body: ⇒ R): R
- Attributes
- protected
- Definition Classes
- Translator
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warn(loc: Location, message: String): Unit
- Attributes
- protected
- Definition Classes
- Translator
-
def
warn(diagnostic: Diagnostic): Unit
- Attributes
- protected
- Definition Classes
- Translator
-
val
warnings: ArrayBuffer[Diagnostic]
- Attributes
- protected
- Definition Classes
- Translator