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.
<T>
ParserStructure.simplify
1 parent 7fcb699 commit 941e426Copy full SHA for 941e426
core/common/src/internal/format/parser/Parser.kt
@@ -49,7 +49,7 @@ internal fun <T> List<ParserStructure<T>>.concat(): ParserStructure<T> {
49
ParserStructure(operations, followedBy.map { it.append(other) })
50
}
51
52
- fun <T> ParserStructure<T>.simplify(unconditionalModifications: List<UnconditionalModification<T>>): ParserStructure<T> {
+ fun ParserStructure<T>.simplify(unconditionalModifications: List<UnconditionalModification<T>>): ParserStructure<T> {
53
val newOperations = mutableListOf<ParserOperation<T>>()
54
var currentNumberSpan: MutableList<NumberConsumer<T>>? = null
55
val unconditionalModificationsForTails = unconditionalModifications.toMutableList()
0 commit comments