if (
            tree['left'].type != 'Identifier' ||
            tree['right'].type != 'Literal'
          ) {
            return null;