java.lang.Object
org.kink_lang.kink.TraceHelper
The helper for traces.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
Returns a trace with no sym nand loc, and not on the tail.Returns a trace with a sym.of
(String sym, LocationVal loc) Returns a trace with a sym.of
(LocationVal loc) Returns a trace with a loc.snip()
Returns a trace with no sym nand loc, on the tail.
-
Method Details
-
of
Returns a trace with a sym.- Parameters:
sym
- the sym.- Returns:
- a trace with the sym.
-
of
Returns a trace with a loc.- Parameters:
loc
- the loc.- Returns:
- a trace with the loc.
-
of
Returns a trace with a sym.- Parameters:
sym
- the sym.loc
- the loc.- Returns:
- a trace with the loc.
-
snip
Returns a trace with no sym nand loc, on the tail.- Returns:
- a trace with no sym nand loc, on the tail.
-
empty
Returns a trace with no sym nand loc, and not on the tail.- Returns:
- a trace with no sym nand loc, and not on the tail.
-