remove Attribute SetAttributes methods

This commit is contained in:
z7zmey
2018-01-04 22:09:48 +02:00
parent dc8808a7d6
commit 02807502d3
149 changed files with 35 additions and 1365 deletions

View File

@@ -22,15 +22,6 @@ func (n Name) Attributes() map[string]interface{} {
return n.attributes
}
func (n Name) Attribute(key string) interface{} {
return n.attributes[key]
}
func (n Name) SetAttribute(key string, value interface{}) node.Node {
n.attributes[key] = value
return n
}
func (n Name) Position() *node.Position {
return n.position
}

View File

@@ -22,15 +22,6 @@ func (n NamePart) Attributes() map[string]interface{} {
return n.attributes
}
func (n NamePart) Attribute(key string) interface{} {
return n.attributes[key]
}
func (n NamePart) SetAttribute(key string, value interface{}) node.Node {
n.attributes[key] = value
return n
}
func (n NamePart) Position() *node.Position {
return n.position
}