codeimage.io

STUDIO HAZE · image

Topaz source

Open by house policy. Topaz is our own language.

Topaz 5.21 · 113 files

topaz/src/names/kotlin.tpz

Topaz · 374 B · Original file

1// Kotlin backquoted identifier spellings for anonymous names.
3import print { 글자합치기 }
5export function 코틀린정규식별자(이름: string) -> string {
6 let 글자들 = 이름.scalars()
7 if 글자들.length >= 2 && 글자들[0] == "`" && 글자들[글자들.length - 1] == "`" {
8 글자합치기(글자들, 1, 글자들.length - 1)
9 } else { 이름 }

SHA256 f6f45078f6a07b8d19d5764c8999170d69c88fbbcd865fca86077c4bbc34dd50