@@ -59,12 +59,12 @@ func NewLiteral(value string, datatype string, language string) *Literal {
5959}
6060
6161// GetValue returns the node's value.
62- func (l Literal ) GetValue () string {
62+ func (l * Literal ) GetValue () string {
6363 return l .Value
6464}
6565
6666// Equal returns true id this node is equal to the given node.
67- func (l Literal ) Equal (n Node ) bool {
67+ func (l * Literal ) Equal (n Node ) bool {
6868 ol , ok := n .(* Literal )
6969 if ! ok {
7070 return false
@@ -100,12 +100,12 @@ func NewIRI(iri string) *IRI {
100100}
101101
102102// GetValue returns the node's value.
103- func (iri IRI ) GetValue () string {
103+ func (iri * IRI ) GetValue () string {
104104 return iri .Value
105105}
106106
107107// Equal returns true id this node is equal to the given node.
108- func (iri IRI ) Equal (n Node ) bool {
108+ func (iri * IRI ) Equal (n Node ) bool {
109109 if oiri , ok := n .(* IRI ); ok {
110110 return iri .Value == oiri .Value
111111 }
@@ -128,12 +128,12 @@ func NewBlankNode(attribute string) *BlankNode {
128128}
129129
130130// GetValue returns the node's value.
131- func (bn BlankNode ) GetValue () string {
131+ func (bn * BlankNode ) GetValue () string {
132132 return bn .Attribute
133133}
134134
135135// Equal returns true id this node is equal to the given node.
136- func (bn BlankNode ) Equal (n Node ) bool {
136+ func (bn * BlankNode ) Equal (n Node ) bool {
137137 if obn , ok := n .(* BlankNode ); ok {
138138 return bn .Attribute == obn .Attribute
139139 }
0 commit comments