Skip to content

Commit

Permalink
Fix deprecated tags in Node (needs to be lowercase)
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Wagner committed Nov 27, 2023
1 parent 9159814 commit 006c815
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/org/rascalmpl/library/Node.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ getKeywordParameters("f"(10, "abc", height=0));
@javaClass{org.rascalmpl.library.Prelude}
public java map[str,value] getKeywordParameters(node T);

@Deprecated{
@deprecated{
Use getKeywordParameters(T)
}
public map[str, value] getAnnotations(node T) = getKeywordParameters(T);
Expand All @@ -65,7 +65,7 @@ setKeywordParameters("f"(10, "abc"), ("height":0));
@javaClass{org.rascalmpl.library.Prelude}
public java &T <: node setKeywordParameters(&T <: node x, map[str,value] keywordParameters);

@Deprecated{
@deprecated{
Use setKeywordParameters(x, keywordParameters)
}
public &T <: node setAnnotations(&T <: node x, map[str,value] keywordParameters)
Expand Down Expand Up @@ -98,7 +98,7 @@ public java node makeNode(str N, value V..., map[str, value] keywordParameters =
@javaClass{org.rascalmpl.library.Prelude}
public java &T <: node unset(&T <: node x, str keywordParameter);

@Deprecated{
@deprecated{
Use unset(x, kw)
}
public &T <: node delAnnotation(&T <: node x, str keywordParameter) = unset(x, keywordParameter);
Expand All @@ -118,7 +118,7 @@ public &T <: node unset(&T <: node x, set[str] keywordParameters){
@javaClass{org.rascalmpl.library.Prelude}
public java &T <: node unset(&T <: node x);

@Deprecated{
@deprecated{
Use `unset(x)`
}
public &T <: node delAnnotations(&T <: node x) = unset(x);
Expand All @@ -128,7 +128,7 @@ public &T <: node delAnnotations(&T <: node x) = unset(x);
@javaClass{org.rascalmpl.library.Prelude}
public java &T unsetRec(&T x);

@Deprecated{
@deprecated{
Use `unsetRec(x)`
}
public &T delAnnotationsRec(&T x) = unsetRec(x);
Expand Down

0 comments on commit 006c815

Please sign in to comment.