diff --git a/node/node.go b/node/node.go index 96be26e..18ef1e4 100644 --- a/node/node.go +++ b/node/node.go @@ -1,20 +1,7 @@ package node -import "fmt" - // Node interface type Node interface { Attributes() map[string]interface{} Walk(v Visitor) } - -type Position struct { - StartLine int - EndLine int - StartPos int - EndPos int -} - -func (p Position) String() string { - return fmt.Sprintf("Pos{Line: %d-%d Pos: %d-%d}", p.StartLine, p.EndLine, p.StartPos, p.EndPos) -}