Eliminate non-child references in Block/FunctionNode, and make few node types immutable

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b84
    • generic
    • generic

      Covers an initial set of changes:
      - using a copy() instead of overriding clone() for making node copies; we'll need built-in clone() for immutable instance creation
      - immutable IdentNode, LiteralNode, UnaryNode, VarNode, BinaryNode, and TernaryNode
      - change method names in NodeVisitor to reflect the type of the node being visited, i.e. "enterExecuteNode(ExecuteNode)" instead of "enter(ExecuteNode)". Overloaded "enter" name can cause implicit change in dispatch when the static type of the node expression changes unexpectedly.
      - eliminate non-child references in Block and FunctionNode

            Assignee:
            Attila Szegedi
            Reporter:
            Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: