Navigation
Synopsis Convert a node to an indented string.
Function str itoString(node T)
Usage import Node;
Examples
rascal>import Node;
ok
rascal>F = setAnnotations("f"(10, "abc"), ("color" : "red", "size" : "large"));
node: "f"(10,"abc")[
  @size="large",
  @color="red"
]
rascal>itoString(F);
str: "\"f\"(10,\"abc\")[\n  @size=\"large\",\n  @color=\"red\"\n]"
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.