Skip to content
Snippets Groups Projects
Commit 0b7eb67d authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Implement freshen on identifiers

parent f5fb158f
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,8 @@ object Common { ...@@ -36,6 +36,8 @@ object Common {
private var _islb: Boolean = false private var _islb: Boolean = false
def markAsLetBinder : Identifier = { _islb = true; this } def markAsLetBinder : Identifier = { _islb = true; this }
def isLetBinder : Boolean = _islb def isLetBinder : Boolean = _islb
def freshen: Identifier = FreshIdentifier(name, alwaysShowUniqueID).setType(getType)
} }
private object UniqueCounter { private object UniqueCounter {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment