Update root and parent context.

def parse(self, target):
        """ Update root and parent context.
        """
        super(VarDefinition, self).parse(target)
        if isinstance(self.parent, ParseNode):
            self.parent.ctx.update({self.name: self.expression.value})
        self.root.set_var(self)