We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9da6a6 commit ee0ff54Copy full SHA for ee0ff54
ksmt-core/src/main/kotlin/io/ksmt/KContext.kt
@@ -1948,6 +1948,9 @@ open class KContext(
1948
KStringLiteralExpr(this, value)
1949
}
1950
1951
+ val String.expr
1952
+ get() = mkStringLiteral(this)
1953
+
1954
private val stringConcatExprCache = mkAstInterner<KStringConcatExpr>()
1955
1956
/**
@@ -1987,6 +1990,12 @@ open class KContext(
1987
1990
KStringLenExpr(this, arg)
1988
1991
1989
1992
1993
+ val KExpr<KStringSort>.len
1994
+ get() = mkStringLen(this)
1995
1996
+ val String.len
1997
+ get() = mkStringLen(this.expr)
1998
1999
private val suffixOfExprCache = mkAstInterner<KSuffixOfExpr>()
2000
2001
0 commit comments