aboutsummaryrefslogtreecommitdiff
path: root/compiler/test_util_test.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/test_util_test.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/compiler/test_util_test.go b/compiler/test_util_test.go
deleted file mode 100644
index 72e150b..0000000
--- a/compiler/test_util_test.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package compiler
-
-import "github.com/nihei9/maleeni/spec"
-
-func newRangeSymbolNodeWithPos(from, to byte, pos symbolPosition) *symbolNode {
- n := newRangeSymbolNode(from, to)
- n.pos = pos
- return n
-}
-
-func newSymbolNodeWithPos(v byte, pos symbolPosition) *symbolNode {
- n := newSymbolNode(v)
- n.pos = pos
- return n
-}
-
-func newEndMarkerNodeWithPos(id int, pos symbolPosition) *endMarkerNode {
- n := newEndMarkerNode(spec.LexModeKindID(id))
- n.pos = pos
- return n
-}