<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/walk
diff options
context:
space:
mode:
Diffstat (limited to 'walk')
-rw-r--r--walk/walk.go2
-rw-r--r--walk/walk_test.go6
2 files changed, 5 insertions, 3 deletions
diff --git a/walk/walk.go b/walk/walk.go
index 289d9ee..fc9e9de 100644
--- a/walk/walk.go
+++ b/walk/walk.go
@@ -5,6 +5,8 @@ import (
"strings"
)
+type PathSegment interface {}
+
type Value interface {
value()
Debug() string
diff --git a/walk/walk_test.go b/walk/walk_test.go
index c05da02..759c501 100644
--- a/walk/walk_test.go
+++ b/walk/walk_test.go
@@ -7,9 +7,9 @@ import (
func TestValueIter(t *testing.T) {
values := ValueList{
- NumberScalar(1),
- NumberScalar(2),
- NumberScalar(3),
+ NumberValue(1),
+ NumberValue(2),
+ NumberValue(3),
}
valuesCopy := ValueList{}