File tree Expand file tree Collapse file tree
ksmt-core/src/main/kotlin/io/ksmt/expr/rewrite/simplify Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ inline fun KContext.simplifyStringBasicContainsExpr(
174174* Substring expressions simplifications
175175* */
176176
177+ /* * Eval constants. */
177178inline fun KContext.simplifyStringSingletonSubExprBasic (
178179 arg0 : KExpr <KStringSort >,
179180 arg1 : KExpr <KIntSort >,
@@ -198,6 +199,7 @@ inline fun KContext.simplifyStringSingletonSubExprBasic(
198199 }
199200}
200201
202+ /* * Eval constants. */
201203inline fun KContext.simplifyStringSubExprBasic (
202204 arg0 : KExpr <KStringSort >,
203205 arg1 : KExpr <KIntSort >,
@@ -220,10 +222,11 @@ inline fun KContext.simplifyStringSubExprBasic(
220222 }
221223}
222224
225+ /* * Eval constants. */
223226inline fun KContext.simplifyStringIndexOfExprBasic (
224- arg0 : KExpr <KStringSort >, // Исходная строка (s)
225- arg1 : KExpr <KStringSort >, // Подстрока для поиска (t)
226- arg2 : KExpr <KIntSort >, // Начальная позиция (i)
227+ arg0 : KExpr <KStringSort >,
228+ arg1 : KExpr <KStringSort >,
229+ arg2 : KExpr <KIntSort >,
227230 cont : (KExpr <KStringSort >, KExpr <KStringSort >, KExpr <KIntSort >) -> KExpr <KIntSort >
228231): KExpr <KIntSort > = with (arg0.ctx) {
229232
You can’t perform that action at this time.
0 commit comments