@staticmethod
def number(tree):
    """
        Compiles a number tree
        """
    token = tree.child(0)
    if token.value[0] == '+':
        token.value = token.value[1:]
    if token.type == 'FLOAT':
        return token.value
    return token.value
