File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ class OrTest : Grammar<Nothing>() {
2626 assertTrue(result.errors[0 ] is MismatchedToken )
2727 assertTrue(result.errors[1 ] is UnexpectedEof )
2828 }
29- }
29+ }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import com.github.h0tk3y.betterParse.lexer.*
55import com.github.h0tk3y.betterParse.parser.*
66import kotlin.test.*
77
8- class RepeatTest : Grammar <Nothing >() {
8+ internal class RepeatTest : Grammar <Nothing >() {
99 override val rootParser: Parser <Nothing > get() = throw NoSuchElementException ()
1010
1111 val a by regexToken(" a" )
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ private fun SyntaxTree<*>.toTopDownStrings() = topDownNodesSequence()
7878 it.item?.typeName()
7979 }.toList()
8080
81- class TestLiftToAst {
81+ internal class TestLiftToAst {
8282 @Test
8383 fun continuousRange () {
8484 val astParser = booleanGrammar.liftToSyntaxTreeGrammar(LiftToSyntaxTreeOptions (retainSkipped = true ), structureParsers = null )
@@ -218,4 +218,4 @@ class TestLiftToAst {
218218
219219 assertTrue(value.children.size == 2 && value.children.all { it.parser == = booleanGrammar.or })
220220 }
221- }
221+ }
You can’t perform that action at this time.
0 commit comments