/// <summary> /// Initializes a new instance of <see cref="ExpressionReference{TValue}"/> that points to the given node within the context of the given program. /// </summary> public ExpressionReference(VisualNode node) { isValue = false; nodeId = node.Id; value = default; }
/// <summary> /// Creates a new <see cref="StatementReference"/> by looking up the given node's key in the given program context. /// </summary> public StatementReference(VisualNode node) { nodeId = node.Id; }