![]() |
| ||||||||||
Navigation |
Synopsis Node values.
Syntax
Exp0 ( Exp1, Exp2, ... )
Types
Description Values of type
node represent untyped trees and are constructed as follows:
The following are provided for nodes:
Examples A node with name "my_node" and three arguments
rascal>"my_node"(1, true, "abc");
node: "my_node"(1,true,"abc")
A nested node structure:
rascal>"my_node1"(1, "my_node2"(3.5, ["a", "b", "c"]), true);
node: "my_node1"(
1,
"my_node2"(
3.5,
["a","b","c"]),
true)
![]() |