'Returns the positional index of a paramter.'

@property
def position_index(self):

    index = self.parent.children.index(self)
    try:
        keyword_only_index = self.parent.children.index('*')
        if (index > keyword_only_index):
            index -= 2
    except ValueError:
        pass
    return (index - 1)
