'Constructor.
Arguments:
node: (pytree.Leaf) The node that\'s being wrapped.'

def __init__(self, node):

    self.node = node
    self.next_token = None
    self.previous_token = None
    self.matching_bracket = None
    self.whitespace_prefix = ''
    self.can_break_before = False
    self.must_break_before = False
    self.total_length = 0
    self.split_penalty = 0
    if self.is_comment:
        self.spaces_required_before = style.Get('SPACES_BEFORE_COMMENT')
    else:
        self.spaces_required_before = 0
    if self.is_continuation:
        self.value = self.node.value.rstrip()
    else:
        self.value = self.node.value
