TermSanitizer
scalus.uplc.TermSanitizer
object TermSanitizer
Sanitizes UPLC Terms to ensure all variable names conform to the UPLC text format requirements.
UPLC text format only allows:
- First character: letters (a-z, A-Z) or underscore (_)
- Subsequent characters: letters, digits, underscore (_), or apostrophe (')
- Optional suffix: hyphen followed by digits (-\d+)
This sanitizer transforms variable names to comply with these rules while avoiding conflicts.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TermSanitizer.type
Members list
In this article